From a8f1b0768602e8f9528e1ead39dc27c34c18306e Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Fri, 27 Jul 2018 16:29:30 -0400 Subject: [PATCH] FIX: prevents exception when loading old dashboard (#6196) --- app/assets/javascripts/admin/models/admin-dashboard.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/models/admin-dashboard.js.es6 b/app/assets/javascripts/admin/models/admin-dashboard.js.es6 index 75757656d6a..9ce5a79e151 100644 --- a/app/assets/javascripts/admin/models/admin-dashboard.js.es6 +++ b/app/assets/javascripts/admin/models/admin-dashboard.js.es6 @@ -11,7 +11,7 @@ AdminDashboard.reopenClass({ @return {jqXHR} a jQuery Promise object **/ find: function() { - return ajax("/admin/dashboard.json").then(function(json) { + return ajax("/admin/dashboard-old.json").then(function(json) { var model = AdminDashboard.create(json); model.set("loaded", true); return model;