Skip to content

Commit

Permalink
check for type
Browse files Browse the repository at this point in the history
  • Loading branch information
miaawong committed Oct 15, 2024
1 parent 6881d1f commit 5bc2259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ const Root = () => {
{group.items ? (
<div className="side-nav-items">
{group.items
?.filter((item) => item.type !== "label")
?.filter((item) => item?.type !== "label")
?.map((item, j) => {
const hash = location.hash.slice(1);
if (item.hidden || item.when === "false") {
Expand Down

0 comments on commit 5bc2259

Please sign in to comment.