Explorar o código

HUE-7784 [dashboard] Fix JS error on right assist filtering

Enrico Berti %!s(int64=8) %!d(string=hai) anos
pai
achega
0c8aa50730
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      desktop/core/src/desktop/templates/assist.mako

+ 6 - 0
desktop/core/src/desktop/templates/assist.mako

@@ -2854,6 +2854,12 @@ from desktop.views import _ko
 
         self.filteredTables = AssistantUtils.getFilteredTablesPureComputed(self);
 
+        self.someLoading = ko.pureComputed(function () {
+          return self.activeTables().some(function (table) {
+            return table.loading() || (!table.hasEntries() && !table.hasErrors());
+          });
+        });
+
         var navigationSettings = {
           showStats: true,
           rightAssist: true