1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

loading worklows into state along with appPackage

This commit is contained in:
Michael Shanks 2020-06-24 11:59:07 +01:00
parent 32115e784d
commit e3965f66d4

View file

@ -1,6 +1,6 @@
<script>
import Modal from "svelte-simple-modal"
import { store } from "builderStore"
import { store, workflowStore } from "builderStore"
import { get } from "builderStore/api"
import { fade } from "svelte/transition"
@ -20,6 +20,7 @@
if (res.ok) {
await store.setPackage(pkg)
workflowStore.actions.fetch()
return pkg
} else {
throw new Error(pkg)