Explorar o código

HUE-5329 [metastore] In columns section, we show "view more" when there are no extra rows

Adrian Yavorskyy %!s(int64=8) %!d(string=hai) anos
pai
achega
47f13c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/metastore/src/metastore/templates/metastore.mako

+ 1 - 1
apps/metastore/src/metastore/templates/metastore.mako

@@ -638,7 +638,7 @@ ${ components.menubar() }
     <!-- ko template: "metastore-columns-table" --><!-- /ko -->
     <!-- /ko -->
 
-    <a class="pointer" data-bind="visible: columns().length >= 3, click: function() { $('li a[href=\'#columns\']').click(); }">
+    <a class="pointer" data-bind="visible: columns().length > favouriteColumns().length, click: function() { $('li a[href=\'#columns\']').click(); }">
       ${_('View more...')}
     </a>
   </div>