aboutsummaryrefslogtreecommitdiff
path: root/src-vue
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue')
-rw-r--r--src-vue/src/plugins/store.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index b97af2a7..8ebcaf80 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -97,7 +97,12 @@ export const store = createStore<FlightCoreStore>({
type: 'success',
position: 'bottom-right'
});
- notification_handle.close();
+ try {
+ notification_handle.close();
+ }
+ catch {
+ console.warn("Nothing to close");
+ }
state.install_type = InstallType.UNKNOWN;
// Check for Northstar install