From 74ced977bed2d951aabd43a3ae154caefce3bfce Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 7 Jun 2018 11:18:17 +0200 Subject: [PATCH] FIX: incorrect backup and update times on dashboard --- .../javascripts/admin/controllers/admin-dashboard-next.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/admin/controllers/admin-dashboard-next.js.es6 b/app/assets/javascripts/admin/controllers/admin-dashboard-next.js.es6 index 2f24cf9edd0..433558917b5 100644 --- a/app/assets/javascripts/admin/controllers/admin-dashboard-next.js.es6 +++ b/app/assets/javascripts/admin/controllers/admin-dashboard-next.js.es6 @@ -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"); },