Fix crash when deleting app when on the settings tab
This commit is contained in:
parent
797a486cb2
commit
592438e4c5
|
@ -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
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue