Lint
This commit is contained in:
parent
409580c787
commit
db9822fa64
|
@ -1,5 +1,5 @@
|
||||||
<script>
|
<script>
|
||||||
import { automationStore, rowActions } from "stores/builder"
|
import { rowActions } from "stores/builder"
|
||||||
import {
|
import {
|
||||||
notifications,
|
notifications,
|
||||||
Icon,
|
Icon,
|
||||||
|
@ -7,7 +7,6 @@
|
||||||
ModalContent,
|
ModalContent,
|
||||||
Modal,
|
Modal,
|
||||||
} from "@budibase/bbui"
|
} from "@budibase/bbui"
|
||||||
import { API } from "api"
|
|
||||||
|
|
||||||
export let automation
|
export let automation
|
||||||
export let onCancel = undefined
|
export let onCancel = undefined
|
||||||
|
|
|
@ -3,5 +3,5 @@ import { get } from "svelte/store"
|
||||||
|
|
||||||
export const isEnabled = featureFlag => {
|
export const isEnabled = featureFlag => {
|
||||||
const user = get(auth).user
|
const user = get(auth).user
|
||||||
return true
|
return !!user?.flags?.[featureFlag]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue