mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-12 22:31:39 +01:00
e.errors not e.error (#4990)
This commit is contained in:
parent
1a7fa1d2fe
commit
aeef351629
@ -16,7 +16,7 @@ export default Ember.Component.extend({
|
|||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.get('flashMessages').success(
|
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}`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -18,7 +18,7 @@ export default Ember.Controller.extend(ListController, {
|
|||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.get('flashMessages').success(
|
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 => {
|
.catch(e => {
|
||||||
this.get('flashMessages').success(
|
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}`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user