Skip to content

Commit

Permalink
notice in audio media route
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Aug 9, 2023
1 parent 2ca1f6c commit 1debb21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ ${this.params.display === "media" ? this.mediaTemplate() : nothing}
</div>
<div>
${this.results.map((item) => html`
${mediaKeys.map((key) => html`${typeof item.media[key] == "string" && this.params.mediatype === key ? unsafeHTML(item.media[key]) : nothing}`)}
${mediaKeys.map((key) => html`${item.media && item.media[key] && typeof item.media[key] == "string" && this.params.mediatype === key ? unsafeHTML(item.media[key]) : nothing}`)}
`)}
</div>
`;
Expand Down

1 comment on commit 1debb21

@vercel
Copy link

@vercel vercel bot commented on 1debb21 Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.