Fix issue loading app previews
This commit is contained in:
parent
f50ba7ab4f
commit
4e7c2c52a7
|
@ -50,14 +50,14 @@ const createScreenStore = () => {
|
||||||
let navigationProps = {
|
let navigationProps = {
|
||||||
navigation: "None",
|
navigation: "None",
|
||||||
}
|
}
|
||||||
if (activeScreen.showNavigation) {
|
if (activeScreen?.showNavigation) {
|
||||||
navigationProps = $appStore.application?.navigation
|
navigationProps = $appStore.application?.navigation
|
||||||
|
|
||||||
// Legacy - if this is a legacy screen without any navigation
|
// Legacy - if this is a legacy screen without any navigation
|
||||||
// settings fall back to just showing the app title
|
// settings fall back to just showing the app title
|
||||||
if (!navigationProps) {
|
if (!navigationProps) {
|
||||||
navigationProps = {
|
navigationProps = {
|
||||||
title: activeScreen.navigation ?? $appStore.application?.name,
|
title: activeScreen?.navigation ?? $appStore.application?.name,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!navigationProps.navigation) {
|
if (!navigationProps.navigation) {
|
||||||
|
|
Loading…
Reference in New Issue