mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 03:06:00 +00:00
table structure tab
This commit is contained in:
@@ -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) {
|
||||
// });
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user