浏览代码

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

Enrico Berti 8 年之前
父节点
当前提交
971061232b
共有 1 个文件被更改,包括 3 次插入1 次删除
  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 () {