Fix Bug form editor (#57)

This commit is contained in:
Chirag 2023-01-04 18:19:10 +05:30 committed by GitHub
parent e8aa1d8a63
commit 9d37245f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ export default {
if (!store.getters['open/forms/getBySlug'](to.params.slug)) { if (!store.getters['open/forms/getBySlug'](to.params.slug)) {
loadForms() loadForms()
} }
store.commit('open/working_form/set', null) // Reset old working form
next() next()
}, },
middleware: 'auth', middleware: 'auth',