add enum SERVER to list of valid licenses (#5172)

This commit is contained in:
EthanHealy01
2025-12-05 13:18:23 +00:00
committed by GitHub
parent 3a2370ea1f
commit 9fd8fd89ed
2 changed files with 2 additions and 2 deletions
@@ -249,7 +249,7 @@ export function ServerExperienceProvider({ children }: { children: ReactNode })
}, [fetchUserCounts]);
const hasPaidLicense = useMemo(() => {
return config?.license === 'PRO' || config?.license === 'ENTERPRISE';
return config?.license === 'SERVER' || config?.license === 'PRO' || config?.license === 'ENTERPRISE';
}, [config?.license]);
const licenseKeyValid = useMemo(() => {