- aggiornato carrello e bottoni sul catalogo
This commit is contained in:
@@ -430,7 +430,7 @@ router.post('/settable', authenticate, async (req, res) => {
|
||||
} else {
|
||||
if (
|
||||
(mydata['_id'] === undefined || mydata['_id'] === '' || (mytablerec.isNew && mydata['_id'] === 0)) &&
|
||||
(mytablerec._id === undefined || mytablerec._id === '0')
|
||||
(mytablerec._id === undefined || mytablerec._id === '0'|| mytablerec._id === 0)
|
||||
) {
|
||||
mytablerec._id = new ObjectId();
|
||||
mydata._id = new ObjectId();
|
||||
|
||||
Reference in New Issue
Block a user