Commit 5bd640fb authored by Lyza Danger Gardner's avatar Lyza Danger Gardner

Pass event to reply callback

Fix error from expected event object in angular
parent cb50baad
......@@ -76,12 +76,12 @@ function AnnotationActionBar({
.catch(err => flash.error(err.message, 'Flagging annotation failed'));
};
const onReplyClick = () => {
const onReplyClick = event => {
if (!isLoggedIn) {
openSidebarPanel(uiConstants.PANEL_LOGIN_PROMPT);
return;
}
onReply();
onReply(event);
};
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment