Skip to content

Commit

Permalink
edgecreator-api: Exclude from listing edges with invalid metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Jan 26, 2025
1 parent e09cb2d commit ddcecc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/edgecreator/api/services/browse/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const getSvgMetadata = (
metadataType: string
) =>
metadataNodes
.filter(({ type }) => type === metadataType)
.filter(({ type, "#text": text }) => type === metadataType && text)
.map(({ "#text": text }) => text.trim());

const findInDir = (dir: string) =>
Expand Down

0 comments on commit ddcecc9

Please sign in to comment.