diff --git a/ui/app/components/identity/item-details.js b/ui/app/components/identity/item-details.js index eafc9fb5d8..fc06e97467 100644 --- a/ui/app/components/identity/item-details.js +++ b/ui/app/components/identity/item-details.js @@ -16,7 +16,7 @@ export default Ember.Component.extend({ }) .catch(e => { this.get('flashMessages').success( - `There was a problem enabling the entity: ${model.id} - ${e.error.join(' ') || e.message}` + `There was a problem enabling the entity: ${model.id} - ${e.errors.join(' ') || e.message}` ); }); }, diff --git a/ui/app/controllers/vault/cluster/access/identity/index.js b/ui/app/controllers/vault/cluster/access/identity/index.js index 0bfe797cff..88f71bbf2f 100644 --- a/ui/app/controllers/vault/cluster/access/identity/index.js +++ b/ui/app/controllers/vault/cluster/access/identity/index.js @@ -18,7 +18,7 @@ export default Ember.Controller.extend(ListController, { }) .catch(e => { this.get('flashMessages').success( - `There was a problem deleting ${type}: ${id} - ${e.error.join(' ') || e.message}` + `There was a problem deleting ${type}: ${id} - ${e.errors.join(' ') || e.message}` ); }); }, @@ -36,7 +36,7 @@ export default Ember.Controller.extend(ListController, { }) .catch(e => { this.get('flashMessages').success( - `There was a problem ${action[1]} ${type}: ${id} - ${e.error.join(' ') || e.message}` + `There was a problem ${action[1]} ${type}: ${id} - ${e.errors.join(' ') || e.message}` ); }); },