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