fix bug undefined array filter & snackbar tidak muncul saat konfirmasi handover inventaris
This commit is contained in:
@@ -686,7 +686,7 @@ module.exports = {
|
||||
},
|
||||
hasHandover(item) {
|
||||
// props.item.hasHandover === '1' && props.item.handoverConfirmedBy == '0' && props.item.handoverToUserID === user.M_UserID
|
||||
return item.length > 0 && item.every(obj => obj.allHandedOver == 'N')
|
||||
return Array.isArray(item) && item.length > 0 && item.every(obj => obj.allHandedOver == 'N')
|
||||
},
|
||||
confirmHandover(item) {
|
||||
this.$store.commit("requester/updateSelectedMainTable", item);
|
||||
|
||||
Reference in New Issue
Block a user