Skip to content

Commit

Permalink
Fix type filter list
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoLaval committed Dec 7, 2024
1 parent b53a75c commit a23fbf1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/components/ddi-summary/TypeFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { useRef, useState } from "react";

import { useClickOutside } from "@hooks/click";

import { getLabelFromId } from "@utils/badges";

import { DDIObjectIDs } from "@model/ddi";

type TypeFilterProps = {
Expand Down Expand Up @@ -56,7 +58,7 @@ const TypeFilter = ({ types, selectedTypes, onToggleType }: TypeFilterProps) =>
onChange={() => onToggleType(type)}
/>
}
label={type}
label={getLabelFromId(type)}
/>
))}
</Paper>
Expand Down

0 comments on commit a23fbf1

Please sign in to comment.