This commit is contained in:
Andrew Kingston 2024-09-16 15:01:08 +01:00
parent 3e2fdee186
commit 7406812b18
No known key found for this signature in database
3 changed files with 1 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<script> <script>
import { Button, ActionButton } from "@budibase/bbui" import { Button, ActionButton } from "@budibase/bbui"
import { useSvelteFlow } from "@xyflow/svelte" import { useSvelteFlow } from "@xyflow/svelte"
import { getContext, tick } from "svelte" import { getContext } from "svelte"
import { autoLayout } from "./layout" import { autoLayout } from "./layout"
import { MaxAutoZoom, ZoomDuration } from "./constants" import { MaxAutoZoom, ZoomDuration } from "./constants"

View File

@ -18,7 +18,6 @@
import { roles } from "stores/builder" import { roles } from "stores/builder"
import { Roles } from "constants/backend" import { Roles } from "constants/backend"
import { getSequentialName } from "helpers/duplicate" import { getSequentialName } from "helpers/duplicate"
import { meta } from "@roxi/routify"
const flow = useSvelteFlow() const flow = useSvelteFlow()
const nodes = writable([]) const nodes = writable([])

View File

@ -65,11 +65,6 @@
color: tempColor, color: tempColor,
}) })
} }
const handleDelete = async e => {
e.stopPropagation()
await deleteRole(id)
}
</script> </script>
<div <div