From 7deef86cb289f4df0fc4ca7c5acb84179580bca8 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Thu, 24 Nov 2022 13:24:09 +0000 Subject: [PATCH] Only uncheck other homescreens if homescreen set --- packages/builder/src/builderStore/store/frontend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/builderStore/store/frontend.js b/packages/builder/src/builderStore/store/frontend.js index 1291f81294..81e8a44833 100644 --- a/packages/builder/src/builderStore/store/frontend.js +++ b/packages/builder/src/builderStore/store/frontend.js @@ -369,7 +369,7 @@ export const getFrontendStore = () => { s._id !== screen._id ) }) - if (otherHomeScreens.length) { + if (otherHomeScreens.length && updatedScreen.routing.homeScreen) { const patch = screen => { screen.routing.homeScreen = false }