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