Browse Source

HUE-5967 [search] List of dashboards should redirect to home

Enrico Berti 8 years ago
parent
commit
971061232b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      desktop/core/src/desktop/templates/hue.mako

+ 3 - 1
desktop/core/src/desktop/templates/hue.mako

@@ -714,7 +714,9 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
           { url: '/accounts/logout', app: function () {
             location.href = '/accounts/logout';
           }},
-          { url: '/dashboard/admin/collections', app: 'collections' },
+          { url: '/dashboard/admin/collections', app: function (ctx) {
+            page('/home?type=dashboard');
+          }},
           { url: '/dashboard/*', app: 'dashboard' },
           { url: '/desktop/dump_config', app: 'dump_config' },
           { url: '/editor', app: function () {