🐛 Fix keyboard shortcut issues (#1934)

* fix keyboard shortcut issues

* remove duplicate check

* remove duplicate check
This commit is contained in:
Mutasem Aldmour
2021-06-29 11:47:28 +03:00
committed by GitHub
parent b2e2cfa773
commit a4d0c0fcad
2 changed files with 20 additions and 12 deletions

View File

@@ -31,9 +31,6 @@ const module: Module<IUiState, IRootState> = {
isModalActive: (state: IUiState) => {
return (name: string) => state.modalStack.length > 0 && name === state.modalStack[0];
},
anyModalsOpen: (state: IUiState) => {
return state.modalStack.length > 0;
},
sidebarMenuCollapsed: (state: IUiState): boolean => state.sidebarMenuCollapsed,
},
mutations: {