fix: Keep document menu open when toggling starred status to provide better feedback
This commit is contained in:
parent
66197a967a
commit
b95e1cdef3
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Reference in New Issue