Update model interaction

This commit is contained in:
gconsidine
2017-07-26 17:49:05 -04:00
parent 669cf79898
commit 98cf28d9f1
9 changed files with 82 additions and 46 deletions

View File

@@ -46,7 +46,7 @@ export default ['$scope', 'Rest', 'CredentialList', 'Prompt', 'ProcessErrors', '
}
$scope[list.name].forEach(credential => {
credential.kind = credentialType.getById(credential.credential_type).name;
credential.kind = credentialType.match('id', credential.credential_type).name;
});
}