mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: topic with no tags
This commit is contained in:
parent
1812a38f0a
commit
e1e46f0dff
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user