fixed: se aggiungo una Provincia sul frontend non si aggiungeva
This commit is contained in:
@@ -360,7 +360,7 @@ router.post('/settable', authenticate, async (req, res) => {
|
||||
|
||||
const mytablestrutt = globalTables.getTableByTableName(params.table);
|
||||
|
||||
if (mydata['_id'] !== undefined && mydata['_id'] !== 0) {
|
||||
if (mydata['_id'] !== undefined && mydata['_id'] !== 0 && mydata['_id'] !== '') {
|
||||
mytablerec.isNew = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user