Эх сурвалжийг харах

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

Enrico Berti 8 жил өмнө
parent
commit
0c8aa50

+ 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