|
|
@ -14,6 +14,7 @@ const FEATURES = [ |
|
|
|
description: 'Unlock AI features to enhance your NocoDB experience.', |
|
|
|
description: 'Unlock AI features to enhance your NocoDB experience.', |
|
|
|
enabled: false, |
|
|
|
enabled: false, |
|
|
|
isEngineering: true, |
|
|
|
isEngineering: true, |
|
|
|
|
|
|
|
isEE: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
id: 'integrations', |
|
|
|
id: 'integrations', |
|
|
@ -81,7 +82,7 @@ export const useBetaFeatureToggle = createSharedComposable(() => { |
|
|
|
|
|
|
|
|
|
|
|
const featureStates = computed(() => { |
|
|
|
const featureStates = computed(() => { |
|
|
|
return features.value.reduce((acc, feature) => { |
|
|
|
return features.value.reduce((acc, feature) => { |
|
|
|
acc[feature.id] = feature.enabled |
|
|
|
acc[feature.id] = feature.isEE && !isEeUI ? false : feature.enabled |
|
|
|
return acc |
|
|
|
return acc |
|
|
|
}, {} as Record<FeatureId, boolean>) |
|
|
|
}, {} as Record<FeatureId, boolean>) |
|
|
|
}) |
|
|
|
}) |
|
|
|