zet-lib 1.3.17 → 1.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/zRoute.js +1 -2
- package/package.json +1 -1
package/lib/zRoute.js
CHANGED
|
@@ -2118,8 +2118,7 @@ zRoute.listData = async (req, res, MYMODEL, zRole, actionButtonsFn) => {
|
|
|
2118
2118
|
let buttons = !actionButtonsFn(levels, row, MYMODEL.table) ? zRoute.actionButtons(levels, row, MYMODEL.table) : actionButtonsFn(levels, row, MYMODEL.table)
|
|
2119
2119
|
arr.push(buttons)
|
|
2120
2120
|
} else {
|
|
2121
|
-
|
|
2122
|
-
arr.push(data)
|
|
2121
|
+
arr.push(zRoute.dataTableData(item, row[item], MYMODEL, relations, row.id))
|
|
2123
2122
|
}
|
|
2124
2123
|
})
|
|
2125
2124
|
datas.push(arr)
|