This commit is contained in:
Jarek Radosz 2024-09-16 21:36:09 +02:00
parent b2f3657ec2
commit d4fa3c91e1
No known key found for this signature in database
GPG Key ID: 62D0FBAE5BF9B953
1 changed files with 1 additions and 3 deletions

View File

@ -19,9 +19,7 @@ export default class LatestTopicListItem extends Component {
@service appEvents;
get tagClassNames() {
if (this.args.topic.tags) {
return this.args.topic.tags.map((tagName) => `tag-${tagName}`);
}
return this.args.topic.tags?.map((tagName) => `tag-${tagName}`);
}
<template>