fix column changed value (fieldtype)

This commit is contained in:
Surya Paolo
2022-11-30 11:36:48 +01:00
parent 5a46821621
commit 3aff6a9c94
6 changed files with 13 additions and 2 deletions

View File

@@ -2981,7 +2981,7 @@ export const fieldsTable = {
},
getArrColsByTable(mytable: string) {
const tablerec: any = this.tablesList.find((rec) => rec.value === mytable)
if (tablerec) {
if (tablerec && tablerec.columns) {
return tablerec.columns
} else
return null