소스 검색

HUE-8906 [assist] Fix broken filter in the language reference panel

Johan Ahlen 6 년 전
부모
커밋
36d69d250e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      desktop/core/src/desktop/js/ko/components/assist/ko.assistLangRefPanel.js

+ 2 - 2
desktop/core/src/desktop/js/ko/components/assist/ko.assistLangRefPanel.js

@@ -90,7 +90,7 @@ class LanguageReferenceTopic {
     this.weight = 1;
     this.children = [];
     entry.children.forEach(child => {
-      this.children.push(new LanguageReferenceTopic(child, self.index));
+      this.children.push(new LanguageReferenceTopic(child, this.index));
     });
     this.loadDeferred = $.Deferred();
     this.loading = ko.observable(false);
@@ -223,7 +223,7 @@ class AssistLangRefPanel {
         topic.children.forEach(findInside);
       };
 
-      this.topics.forEach(findInside);
+      this.topics().forEach(findInside);
 
       window.setTimeout(() => {
         // Initial sort deferred for promises to complete