mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: error with tags enabled and no tags created (#6701)
This commit is contained in:
@@ -120,7 +120,7 @@ export default ComboBoxComponent.extend(TagsMixin, {
|
||||
if (this.siteSettings.tags_sort_alphabetically && topTags) {
|
||||
return shortcuts.concat(topTags.sort());
|
||||
} else {
|
||||
return shortcuts.concat(topTags);
|
||||
return shortcuts.concat(Ember.makeArray(topTags));
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user