mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:25:24 +08:00
FIX: topic with no tags
This commit is contained in:
@ -227,7 +227,7 @@ const Topic = RestModel.extend({
|
||||
|
||||
@computed("tags")
|
||||
tagClasses(tags) {
|
||||
return tags.map(t => `tag-${t}`).join(" ");
|
||||
return tags && tags.map(t => `tag-${t}`).join(" ");
|
||||
},
|
||||
|
||||
@computed("url")
|
||||
|
Reference in New Issue
Block a user