Merge pull request #8798 from Budibase/bug/sev3/homescreen-on-load
Only uncheck other homescreens if homescreen set
This commit is contained in:
commit
685355004e
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue