more logic for title columns

This commit is contained in:
Jordan Vidrine
2025-03-27 16:57:31 -05:00
parent e20b83b79d
commit 6364aa74e6
2 changed files with 13 additions and 3 deletions
@@ -68,8 +68,12 @@ export default {
if (context.topic.pinned || context.topic.pinned_globally) {
classes.push("--pinned");
}
if (context.topic.is_hot) {
classes.push("--hot");
if (
context.topic.is_hot ||
context.topic.pinned ||
context.topic.pinned_globally
) {
classes.push("--has-status-card");
}
return classes;
}