Feature flags (#543)
* Re-organize a bit controllers * Added the featureflagcontroller * Implement feature flags in the front-end * Clean env files * Clean console.log messages * Fix feature flag test
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
v-if="aiFeaturesEnabled"
|
||||
v-if="useFeatureFlag('ai_features')"
|
||||
v-track.select_form_base="{ base: 'ai' }"
|
||||
class="rounded-md border p-4 flex flex-col items-center cursor-pointer hover:bg-gray-50"
|
||||
role="button"
|
||||
@@ -185,12 +185,6 @@ export default {
|
||||
loading: false,
|
||||
}),
|
||||
|
||||
computed: {
|
||||
aiFeaturesEnabled() {
|
||||
return this.runtimeConfig.public.aiFeaturesEnabled
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
generateForm() {
|
||||
if (this.loading) return
|
||||
|
||||
Reference in New Issue
Block a user