Explorar o código

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

Romain Rigaux %!s(int64=9) %!d(string=hai) anos
pai
achega
1d645f8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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) {