Pārlūkot izejas kodu

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

Romain Rigaux 9 gadi atpakaļ
vecāks
revīzija
1d645f8
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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) {