Quellcode durchsuchen

HUE-5317 [assist] Remove duplicate error lines when opening a table fails

Johan Ahlen vor 9 Jahren
Ursprung
Commit
ef0c021
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      desktop/core/src/desktop/templates/assist.mako

+ 2 - 2
desktop/core/src/desktop/templates/assist.mako

@@ -548,8 +548,8 @@ from metadata.conf import has_navigator
       <!-- ko template: { ifnot: definition.isTable || definition.isView, name: 'assist-column-entry' } --><!-- /ko -->
     </ul>
     <!-- /ko -->
-    <!-- ko template: { if: ! hasEntries() && ! loading() && (definition.isTable || definition.isView), name: 'assist-no-table-entries' } --><!-- /ko -->
-    <!-- ko template: { if: ! hasEntries() && ! loading() && definition.isDatabase, name: 'assist-no-database-entries' } --><!-- /ko -->
+    <!-- ko template: { if: ! hasErrors() && ! hasEntries() && ! loading() && (definition.isTable || definition.isView), name: 'assist-no-table-entries' } --><!-- /ko -->
+    <!-- ko template: { if: ! hasErrors() && ! hasEntries() && ! loading() && definition.isDatabase, name: 'assist-no-database-entries' } --><!-- /ko -->
     <!-- ko if: hasErrors -->
     <ul class="assist-tables">
       <!-- ko if: definition.isTable -->