Fix share parameter logic

This commit is contained in:
Francis Cao 2026-01-29 10:13:08 -08:00
parent abfb78bb98
commit e57239de1e

View file

@ -129,7 +129,7 @@ export function ShareNav({
const items = allItems const items = allItems
.map(section => ({ .map(section => ({
label: section.label, label: section.label,
items: section.items.filter(item => parameters[item.id] !== false), items: section.items.filter(item => parameters[item.id] === true),
})) }))
.filter(section => section.items.length > 0); .filter(section => section.items.length > 0);