Hide AI custom config quota.

This commit is contained in:
Sam Rose 2025-05-06 10:49:24 +01:00
parent 3dd40da4a0
commit 2a724f280d
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
Link,
TooltipWrapper,
} from "@budibase/bbui"
import { Feature } from "@budibase/types"
import { onMount } from "svelte"
import { admin, auth, licensing } from "@/stores/portal"
import { Constants } from "@budibase/frontend-core"
@ -33,6 +34,7 @@
const EXCLUDE_QUOTAS = {
["Day Passes"]: () => true,
[Feature.AI_CUSTOM_CONFIGS]: () => true,
Queries: () => true,
Users: license => {
return license.plan.model !== PlanModel.PER_USER