Bring payload in from the job api response
This commit is contained in:
parent
0d4a245f7c
commit
4f8a59a56c
|
@ -148,4 +148,10 @@ export default Model.extend({
|
|||
|
||||
return classMap[this.get('status')] || 'is-dark';
|
||||
}),
|
||||
|
||||
payload: attr('string'),
|
||||
decodedPayload: computed('payload', function() {
|
||||
// Lazily decode the base64 encoded payload
|
||||
return window.atob(this.get('payload') || '');
|
||||
}),
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue