1
0
Fork 0
mirror of synced 2024-07-14 02:36:22 +12:00

more code tidy up

This commit is contained in:
Peter Clement 2023-08-29 22:07:55 +01:00
parent ac34f1129c
commit b5a1c31034

View file

@ -5,6 +5,7 @@
import { Constants, RoleUtils } from "@budibase/frontend-core" import { Constants, RoleUtils } from "@budibase/frontend-core"
import { createEventDispatcher } from "svelte" import { createEventDispatcher } from "svelte"
import { capitalise } from "helpers"
export let value export let value
export let error export let error
@ -48,7 +49,9 @@
{ {
_id: CreatorID, _id: CreatorID,
name: "Creator", name: "Creator",
tag: !$licensing.perAppBuildersEnabled && Constants.PlanType.BUSINESS, tag:
!$licensing.perAppBuildersEnabled &&
capitalise(Constants.PlanType.BUSINESS),
}, },
...newRoles, ...newRoles,
] ]