excerpt fixes

This commit is contained in:
Jordan Vidrine
2025-03-28 09:17:37 -05:00
parent 94c31086f9
commit 8b6c056720
@@ -7,23 +7,23 @@ export default class TopicStatusColumn extends Component {
@service siteSettings;
get badge() {
// if (this.args.topic.is_hot) {
// return {
// icon: "fire",
// text: "topic_hot",
// className: "--hot",
// };
// }
if (this.args.topic.is_hot) {
return {
icon: "fire",
text: "topic_hot",
className: "--hot",
};
}
// if (this.args.topic.pinned) {
return {
icon: "thumbtack",
text: "topic_pinned",
className: "--pinned",
};
// }
if (this.args.topic.pinned) {
return {
icon: "thumbtack",
text: "topic_pinned",
className: "--pinned",
};
}
// return null;
return null;
}
<template>