Fix crash when deleting app when on the settings tab

This commit is contained in:
Andrew Kingston 2022-08-05 11:08:32 +01:00
parent e09c3c13cd
commit 2c8345819d
2 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,6 @@
// Use the currently selected role
if (!screenAccessRole) {
console.log("NO ROLE")
return
}
screen.routing.roleId = screenAccessRole

View File

@ -21,7 +21,7 @@
$: updateAvailable = clientPackage.version !== $store.version
$: appUrl = `${window.origin}/app${app?.url}`
$: appDeployed = app.status === AppStatus.DEPLOYED
$: appDeployed = app?.status === AppStatus.DEPLOYED
</script>
<div class="settings-tab">