From d4262e9fdc495a31fdb420c8c99379120cc6fc8f Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Tue, 30 Sep 2025 11:53:26 +0200 Subject: [PATCH] Prevent vue crash on hotreload --- dashboard/src/views/AppstoreView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/views/AppstoreView.vue b/dashboard/src/views/AppstoreView.vue index c25945a65..34a571fc5 100644 --- a/dashboard/src/views/AppstoreView.vue +++ b/dashboard/src/views/AppstoreView.vue @@ -141,7 +141,7 @@ async function getInstalledApps() { async function onHashChange() { if (window.location.hash.indexOf('#/appstore') !== 0) return; - if (appInstallDialog.value) appInstallDialog.value.close(); + if (!appInstallDialog.value) return; const query = window.location.hash.slice('#/appstore/'.length); if (query) {