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) {