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:
1
client/lib/forms/public-page.js
vendored
1
client/lib/forms/public-page.js
vendored
@@ -83,7 +83,6 @@ export function darkModeEnabled (elem = ref(null)) {
|
||||
|
||||
// Update isDark based on the current class
|
||||
const updateIsDark = () => {
|
||||
console.log(elem.value, 'test')
|
||||
const finalElement = elem.value ?? document.body
|
||||
isDark.value = finalElement.classList.contains('dark')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user