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 797a486cb2
commit 592438e4c5
2 changed files with 1 additions and 2 deletions

View File

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

View File

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