Преглед изворни кода

HUE-6906 [frontend] 'Add more' should open in a new tab and not throw a 404 in Hue 4

Enrico Berti пре 8 година
родитељ
комит
8fe7020
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      desktop/core/src/desktop/templates/hue.mako

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

@@ -145,7 +145,7 @@ ${ hueIcons.symbols() }
               </a>
             <!-- /ko -->
             <!-- ko if: item.href -->
-              <a data-bind="hueLink: item.href, text: item.displayName"></a>
+              <a data-bind="attr: { href: item.href }, text: item.displayName" target="_blank"></a>
             <!-- /ko -->
             <!-- ko if: item.isCategory -->
             <ul class="dropdown-menu" data-bind="foreach: { data: item.children, as: 'item' }">