Skip to content

Commit 8d05f4c

Browse files
committed
fix(core): filter hidden dock entries
1 parent cc8e5d4 commit 8d05f4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/core/src/client/webcomponents/components/DockEntriesWithCategories.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ const emit = defineEmits<{
1717
const groups = computed(() => {
1818
const map = new Map<string, DevToolsDockEntry[]>()
1919
for (const entry of props.entries) {
20+
if (entry.isHidden)
21+
continue
2022
const category = entry.category ?? 'default'
2123
if (!map.has(category))
2224
map.set(category, [])
2325
map.get(category)!.push(entry)
2426
}
27+
2528
const entries = Array
2629
.from(map.entries())
2730
.sort(([a], [b]) => {

0 commit comments

Comments
 (0)