Fix create screen state by navigating to new URL when creating
This commit is contained in:
parent
6307e9028c
commit
3dacff4636
|
@ -1,4 +1,5 @@
|
|||
<script>
|
||||
import { goto } from "@sveltech/routify"
|
||||
import { store, backendUiStore } from "builderStore"
|
||||
import { Input, Button, Spacer, Select, ModalContent } from "@budibase/bbui"
|
||||
import getTemplates from "builderStore/store/screenTemplates"
|
||||
|
@ -71,14 +72,7 @@
|
|||
})
|
||||
}
|
||||
|
||||
finished()
|
||||
}
|
||||
|
||||
const finished = () => {
|
||||
templateIndex = 0
|
||||
name = ""
|
||||
route = ""
|
||||
baseComponent = CONTAINER
|
||||
$goto(`./:page/${name}`)
|
||||
}
|
||||
|
||||
const routeNameExists = route => {
|
||||
|
|
Loading…
Reference in New Issue