This commit is contained in:
Andrew Kingston 2024-09-04 09:51:26 +01:00
parent 409580c787
commit db9822fa64
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<script>
import { automationStore, rowActions } from "stores/builder"
import { rowActions } from "stores/builder"
import {
notifications,
Icon,
@ -7,7 +7,6 @@
ModalContent,
Modal,
} from "@budibase/bbui"
import { API } from "api"
export let automation
export let onCancel = undefined

View File

@ -3,5 +3,5 @@ import { get } from "svelte/store"
export const isEnabled = featureFlag => {
const user = get(auth).user
return true
return !!user?.flags?.[featureFlag]
}