table structure tab

This commit is contained in:
Jan Prochazka
2021-03-18 11:51:19 +01:00
parent b7663e2e06
commit 0524b4c5b6
11 changed files with 265 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
import { commands } from '../stores';
import invalidateCommands from './invalidateCommands';
export interface SubCommand {
text: string;
@@ -38,6 +39,7 @@ export default function registerCommand(command: GlobalCommand) {
enabled: !testEnabled,
},
}));
invalidateCommands();
// if (enabledStore) {
// enabledStore.subscribe(value => {
// commands.update(x => ({
@@ -50,4 +52,3 @@ export default function registerCommand(command: GlobalCommand) {
// });
// }
}