fix tests (#7908)

fix tests (#7908)

diff --git a/app/assets/javascripts/admin/controllers/admin.js.es6 b/app/assets/javascripts/admin/controllers/admin.js.es6
index ace435d..2bca382 100644
--- a/app/assets/javascripts/admin/controllers/admin.js.es6
+++ b/app/assets/javascripts/admin/controllers/admin.js.es6
@@ -22,15 +22,16 @@ export default Ember.Controller.extend({
           segment !== "index" &&
           segment !== "loading" &&
           segment !== "show" &&
-          segment !== "admin"
+          segment !== "admin" &&
+          segment !== "dashboard"
         );
       })
       .map(Ember.String.dasherize)
       .join(" ");
 
     // this is done to avoid breaking css customizations
-    if (cssClasses.includes("dashboard")) {
-      cssClasses = `${cssClasses} dashboard-next`;
+    if (currentPath.indexOf("admin.dashboard") > -1) {
+      cssClasses = `${cssClasses} dashboard dashboard-next`;
     }
 
     return cssClasses;

GitHub sha: 9cdc059a