mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 03:16:00 +00:00
fix
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import invalidateCommands from '../commands/invalidateCommands';
|
||||||
import { appUpdaterActive, appUpdateStatus } from '../stores';
|
import { appUpdaterActive, appUpdateStatus } from '../stores';
|
||||||
import getElectron from './getElectron';
|
import getElectron from './getElectron';
|
||||||
import { showSnackbar } from './snackbar';
|
import { showSnackbar } from './snackbar';
|
||||||
@@ -46,5 +47,6 @@ export function initializeAppUpdates() {
|
|||||||
|
|
||||||
electron.addEventListener('setAppUpdaterActive', (e, error) => {
|
electron.addEventListener('setAppUpdaterActive', (e, error) => {
|
||||||
appUpdaterActive.set(true);
|
appUpdaterActive.set(true);
|
||||||
|
invalidateCommands();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user