Fix bug when selecting main page when creating autolinks
This commit is contained in:
parent
a31d27a7db
commit
13b0e96dfe
|
@ -233,7 +233,7 @@ const createLink = store => async (url, title) => {
|
|||
|
||||
// Save page and regenerate all CSS because otherwise weird things happen
|
||||
nav._children = [...nav._children, newLink]
|
||||
setCurrentPage("main")
|
||||
state.currentPageName = "main"
|
||||
regenerateCssForScreen(state.pages.main)
|
||||
for (let screen of state.pages.main._screens) {
|
||||
regenerateCssForScreen(screen)
|
||||
|
|
Loading…
Reference in New Issue