Fix share parameter logic
This commit is contained in:
1 parent
abfb78bb98
commit
e57239de1e
1 file changed
+1
-1
@@ -129,7 +129,7 @@ export function ShareNav({
|
||||
const items = allItems
|
||||
.map(section => ({
|
||||
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user