remove branding for subscribed users (#424)
* removebrandingfor subscribed users * backend changes, test * fix test name * fix disable branding * Fix linting --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -69,6 +69,7 @@ function initUpdatedForm() {
|
||||
watch(form, (form) => {
|
||||
if (form?.value) {
|
||||
initUpdatedForm()
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ onMounted(() => {
|
||||
formStore.loadAll(workspace.value.id)
|
||||
}
|
||||
|
||||
form.value = initForm({ workspace_id: workspace.value?.id }, true)
|
||||
form.value = initForm({ workspace_id: workspace.value?.id, no_branding: workspace.value?.is_pro }, true)
|
||||
formInitialHash.value = hash(JSON.stringify(form.value.data()))
|
||||
if (route.query.template !== undefined && route.query.template) {
|
||||
const template = templatesStore.getByKey(route.query.template)
|
||||
|
||||
Reference in New Issue
Block a user