mirror of
https://github.com/outline/outline.git
synced 2026-12-06 11:12:32 +03:00
fix: Keep document menu open when toggling starred status to provide better feedback
This commit is contained in:
1 parent
66197a967a
commit
b95e1cdef3
1 file changed
+2
@@ -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
Block a user