mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
bb905bc0e5
commit
18ec143262
1 file changed
+2
-1
@@ -46,7 +46,8 @@ const NonInjectedTopBar = (({ items, children, ...rest }: Props & Dependencies)
|
||||
const toggleAppContextMenu = () => {
|
||||
toggleIsAppContextMenuOpen();
|
||||
|
||||
if (isAppContextMenuOpen) {
|
||||
if (!isAppContextMenuOpen) {
|
||||
// This is done when the current value is false as that is the rising edge
|
||||
emitOpenAppMenuAsContextMenu();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user