FIX: topic with no tags

This commit is contained in:
Régis Hanol 2019-03-21 19:40:10 +01:00
parent 1812a38f0a
commit e1e46f0dff
1 changed files with 1 additions and 1 deletions

View File

@ -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")