fix: Keep document menu open when toggling starred status to provide better feedback

This commit is contained in:
Tom Moor 2019-10-15 23:14:14 -07:00
parent 66197a967a
commit b95e1cdef3
1 changed files with 2 additions and 0 deletions

View File

@ -95,10 +95,12 @@ class DocumentMenu extends React.Component<Props> {
};
handleStar = (ev: SyntheticEvent<>) => {
ev.stopPropagation();
this.props.document.star();
};
handleUnstar = (ev: SyntheticEvent<>) => {
ev.stopPropagation();
this.props.document.unstar();
};