소스 검색

HUE-5187 [assist] Default showCores to true in Collection if we only have cores

Romain Rigaux 9 년 전
부모
커밋
1d645f8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      desktop/core/src/desktop/templates/assist.mako

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

@@ -1602,6 +1602,7 @@ from metadata.conf import has_navigator
           currentEntry.hasOnlyCores.subscribe(function (onlyCores) {
             self.showCores(onlyCores);
           });
+          self.showCores(currentEntry.hasOnlyCores());
         };
 
         huePubSub.subscribe('assist.clickCollectionItem', function (entry) {