Finish reimbursement loading and sync
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import EmberObject, { computed } from '@ember/object';
|
||||
import { isPresent } from '@ember/utils';
|
||||
import moment from 'moment';
|
||||
import { notEmpty } from '@ember/object/computed';
|
||||
import { isPresent } from '@ember/utils';
|
||||
|
||||
export default EmberObject.extend({
|
||||
|
||||
@@ -36,6 +37,10 @@ export default EmberObject.extend({
|
||||
return isPresent(this.pendingTx);
|
||||
}),
|
||||
|
||||
pendingStatus: computed('pendingTx', function() {
|
||||
return isPresent(this.pendingTx) ? 'isPending' : 'notPending';
|
||||
}),
|
||||
|
||||
serialize () {
|
||||
return JSON.stringify(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user