FIX grunt build expected === instead of ==

This commit is contained in:
WolFi 2018-12-16 14:13:27 +01:00
parent e1e0ec7a76
commit fce2fa835d
No known key found for this signature in database
GPG key ID: 7D15585354D072FF

View file

@ -385,10 +385,10 @@
var found=false;
var credList=$rootScope.vaultCache[$scope.active_vault.guid].credentials;
for (var i = 0; i < credList.length; i++) {
if(credList[i].credential_id==credential.credential_id){
if (credList[i].credential_id === credential.credential_id) {
$rootScope.vaultCache[$scope.active_vault.guid].credentials[i]=credential;
found=true;
}
}
}
if(!found){