more logic for title columns
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user