add
This commit is contained in:
parent
e60c5000f4
commit
48706e79eb
|
@ -6,7 +6,13 @@ const TermInfo = ({ terms = [] }: { terms?: TermDto[] }) => {
|
|||
<div>
|
||||
{terms && terms?.length > 0 ? (
|
||||
<div className="flex gap-2 mb-4">
|
||||
{terms?.map((term: any) => {
|
||||
{terms
|
||||
?.sort((a, b) =>
|
||||
String(a?.taxonomy?.id || "").localeCompare(
|
||||
String(b?.taxonomy?.id || "")
|
||||
)
|
||||
)
|
||||
?.map((term: any) => {
|
||||
return (
|
||||
<Tag
|
||||
key={term.id}
|
||||
|
|
Loading…
Reference in New Issue