Explorar el Código

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

Enrico Berti hace 9 años
padre
commit
971061232b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 () {
           { url: '/accounts/logout', app: function () {
             location.href = '/accounts/logout';
             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: '/dashboard/*', app: 'dashboard' },
           { url: '/desktop/dump_config', app: 'dump_config' },
           { url: '/desktop/dump_config', app: 'dump_config' },
           { url: '/editor', app: function () {
           { url: '/editor', app: function () {