zet-lib 1.2.47 → 1.2.48
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 -0
- package/package.json +1 -1
package/lib/zRoute.js
CHANGED
|
@@ -3564,6 +3564,7 @@ zRoute.import = async (req, res, MYMODEL) => {
|
|
|
3564
3564
|
if (Util.in_array('updated_by', fields)) data.updated_by = res.locals.userId
|
|
3565
3565
|
delete data.lock
|
|
3566
3566
|
await connection.insert({ table: MYMODEL.table, data: data })
|
|
3567
|
+
hd += `<td class='text text-success'>${LANGUAGE['success']}</td>`
|
|
3567
3568
|
} else {
|
|
3568
3569
|
if (Util.in_array('updated_at', fields)) data.updated_at = Util.now()
|
|
3569
3570
|
if (Util.in_array('updated_by', fields)) data.updated_by = res.locals.userId
|