Fix create screen state by navigating to new URL when creating

This commit is contained in:
Andrew Kingston 2020-10-13 09:11:36 +01:00
parent 6307e9028c
commit 3dacff4636
1 changed files with 2 additions and 8 deletions

View File

@ -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 => {