more code tidy up

This commit is contained in:
Peter Clement 2023-08-29 22:07:55 +01:00
parent ac34f1129c
commit b5a1c31034
1 changed files with 4 additions and 1 deletions

View File

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