mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix topbar
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
bb905bc0e5
commit
18ec143262
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user