FIX: incorrect backup and update times on dashboard

This commit is contained in:
Joffrey JAFFEUX 2018-06-07 11:18:17 +02:00 committed by GitHub
parent 1071aa21ab
commit 74ced977be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -114,12 +114,12 @@ export default Ember.Controller.extend({
return moment().locale("en").utc().subtract(1, "day").endOf("day");
},
@computed("updated_at")
@computed("model.attributes.updated_at")
updatedTimestamp(updatedAt) {
return moment(updatedAt).format("LLL");
},
@computed("last_backup_taken_at")
@computed("model.attributes.last_backup_taken_at")
backupTimestamp(lastBackupTakenAt) {
return moment(lastBackupTakenAt).format("LLL");
},