🐟 Fix catalog index and start on Groupbadges

This commit is contained in:
duckietm
2026-02-20 11:49:01 +01:00
parent f961e29bd1
commit 16dce04475
2 changed files with 68 additions and 16 deletions
+2 -2
View File
@@ -72,12 +72,12 @@ export const CatalogView: FC<{}> = props =>
<NitroCardView className="w-[630px] h-[400px]" style={ GetConfigurationValue('catalog.headers') ? { width: 710 } : {} } uniqueKey="catalog">
<NitroCardHeaderView headerText={ LocalizeText('catalog.title') } onCloseClick={ event => setIsVisible(false) } />
<NitroCardTabsView>
{ rootNode && (rootNode.children.length > 0) && rootNode.children.map(child =>
{ rootNode && (rootNode.children.length > 0) && rootNode.children.map((child, index) =>
{
if(!child.isVisible) return null;
return (
<NitroCardTabsItemView key={ child.pageId } isActive={ child.isActive } onClick={ event =>
<NitroCardTabsItemView key={ `${ child.pageId }-${ child.pageName }-${ index }` } isActive={ child.isActive } onClick={ event =>
{
if(searchResult) setSearchResult(null);