From 14bd5075663681e5c20872e030dd62264cde6f31 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 27 Apr 2022 13:28:17 +0100 Subject: [PATCH] Fix toggle navigation for a screen not refrecting in the app preview --- packages/client/src/stores/screens.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/src/stores/screens.js b/packages/client/src/stores/screens.js index 5b9f760556..03d536e0e2 100644 --- a/packages/client/src/stores/screens.js +++ b/packages/client/src/stores/screens.js @@ -60,6 +60,9 @@ const createScreenStore = () => { title: activeScreen.navigation ?? $appStore.application?.name, } } + if (!navigationProps.navigation) { + navigationProps.navigation = "Top" + } } activeLayout = { _id: "layout",