Do not attempt to close the app install dialog if it doesn't exist yet
This commit is contained in:
@@ -141,7 +141,7 @@ async function getInstalledApps() {
|
||||
async function onHashChange() {
|
||||
if (window.location.hash.indexOf('#/appstore/') !== 0) return;
|
||||
|
||||
appInstallDialog.value.close();
|
||||
if (appInstallDialog.value) appInstallDialog.value.close();
|
||||
|
||||
const query = window.location.hash.slice('#/appstore/'.length);
|
||||
if (query) {
|
||||
|
||||
Reference in New Issue
Block a user