Skip to content

Commit

Permalink
Added columns seem to be saved now
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Dec 23, 2023
1 parent 58070c5 commit 94fe6cd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ load_once_from_file(true)
//{title:"Name", field:"name", width:150 , headerMenu: headerMenu, headerFilter:"input"}
]
});
await mm.createModelFromSrcCode()

})
})
Expand All @@ -408,7 +407,6 @@ load_once_from_file(true)
// init text pane
// ------------------------------------------------
if (tabName == "text") {
args.text = null
}
},
createModelFromSrcCode: async function ( ) {
Expand Down Expand Up @@ -492,7 +490,6 @@ load_once_from_file(true)
},
schemaChanged: async function ( ) {
let mm = this
await mm.convertJsonModelToSrcCode()
mm.$root.$emit(
'message', {
type: "pending"
Expand Down Expand Up @@ -566,6 +563,8 @@ load_once_from_file(true)
if (!isValidObject(this.text)) {
return
}
args.text = null

await mm.createModelFromSrcCode()
},
pane_home_addTable: async function ( ) {
Expand Down Expand Up @@ -621,8 +620,9 @@ load_once_from_file(true)
}
)
table.next_field_id ++
await mm.schemaChanged()
await mm.pane_home_selectTable( { tableName: mm.pane_home_selectedTable})
debugger
await mm.schemaChanged()
},
pane_home_deleteTable: async function ( ) {
//----------------------------------------------------------------------------------/
Expand Down

0 comments on commit 94fe6cd

Please sign in to comment.