Only uncheck other homescreens if homescreen set

This commit is contained in:
Mel O'Hagan 2022-11-24 13:24:09 +00:00
parent 8442da7aef
commit 7deef86cb2
1 changed files with 1 additions and 1 deletions

View File

@ -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
}