Skip to content

Commit 96f422b

Browse files
authored
Update fast-search-card.js
1 parent 119dfef commit 96f422b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

dist/fast-search-card.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7153,10 +7153,8 @@ class FastSearchCard extends HTMLElement {
71537153
// 🌟 NEU: Stars sammeln
71547154
const starredItems = this.getUserStarredItems();
71557155

7156-
// Items ohne Stars für Raum-Sektionen
7157-
const nonStarredItems = this.filteredItems.filter(item =>
7158-
!starredItems.some(star => star.id === item.id)
7159-
);
7156+
// Alle Items für Raum-Sektionen (inkl. Stars)
7157+
const nonStarredItems = this.filteredItems;
71607158

71617159
if (this.currentViewMode === 'grid') {
71627160
this.renderGridResults(resultsGrid, starredItems, nonStarredItems);
@@ -7231,7 +7229,7 @@ class FastSearchCard extends HTMLElement {
72317229
const starHeader = document.createElement('div');
72327230
starHeader.className = 'area-header stars-header';
72337231
starHeader.innerHTML = `
7234-
<span class="area-name">⭐ Meine Stars</span>
7232+
<span class="area-name">Favoriten</span>
72357233
<span class="area-count">(${starredItems.length})</span>
72367234
`;
72377235
resultsList.appendChild(starHeader);

0 commit comments

Comments
 (0)