Merge pull request #8798 from Budibase/bug/sev3/homescreen-on-load

Only uncheck other homescreens if homescreen set
This commit is contained in:
melohagan 2022-11-24 15:13:24 +00:00 committed by GitHub
commit 685355004e
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ export const getFrontendStore = () => {
s._id !== screen._id s._id !== screen._id
) )
}) })
if (otherHomeScreens.length) { if (otherHomeScreens.length && updatedScreen.routing.homeScreen) {
const patch = screen => { const patch = screen => {
screen.routing.homeScreen = false screen.routing.homeScreen = false
} }