Apply bug fixes from Noteforms (#341)
* rename const emits to emit * auth bug fixes * refactor page meta * fix file input empty ref * setProperties working_form store * add form creator to form list --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
4
client/stores/working_form.js
vendored
4
client/stores/working_form.js
vendored
@@ -14,7 +14,7 @@ export const useWorkingFormStore = defineStore('working_form', {
|
||||
this.content = form
|
||||
},
|
||||
setProperties (properties) {
|
||||
this.content.properties = properties
|
||||
this.content.properties = [...properties]
|
||||
},
|
||||
openSettingsForField (index) {
|
||||
// If field is passed, compute index
|
||||
@@ -44,7 +44,7 @@ export const useWorkingFormStore = defineStore('working_form', {
|
||||
this.showAddFieldSidebar = false
|
||||
this.showEditFieldSidebar = false
|
||||
},
|
||||
reset() {
|
||||
reset () {
|
||||
this.content = null
|
||||
this.selectedFieldIndex = null
|
||||
this.showEditFieldSidebar = null
|
||||
|
||||
Reference in New Issue
Block a user