6f647 unable to add a block (#411)
* fix store content bug * fix: form field indexing bug on working form store * fix column width on form fied --------- 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
@@ -129,8 +129,8 @@ export const useWorkingFormStore = defineStore("working_form", {
|
||||
}
|
||||
newBlock.help_position = "below_input"
|
||||
if (
|
||||
this.selectedFieldIndex === null ||
|
||||
this.selectedFieldIndex === undefined
|
||||
(this.selectedFieldIndex === null || this.selectedFieldIndex === undefined) &&
|
||||
(index === null || index === undefined)
|
||||
) {
|
||||
const newFields = clonedeep(this.content.properties)
|
||||
newFields.push(newBlock)
|
||||
|
||||
Reference in New Issue
Block a user