diff --git a/core/client/app/controllers/post-settings-menu.js b/core/client/app/controllers/post-settings-menu.js index a8a544a579..3662eefd1d 100644 --- a/core/client/app/controllers/post-settings-menu.js +++ b/core/client/app/controllers/post-settings-menu.js @@ -174,11 +174,6 @@ export default Controller.extend(SettingsMenuMixin, { this.set('debounceId', debounceId); }, - // this exists because selectize throws errors on transition if it doesn't - existingTags: computed('model.tags.[]', function () { - return this.get('model.tags').toArray(); - }), - // live-query of all tags for tag input autocomplete availableTags: computed(function () { return this.get('store').filter('tag', {limit: 'all'}, () => { diff --git a/core/client/app/templates/post-settings-menu.hbs b/core/client/app/templates/post-settings-menu.hbs index 7c47a8812b..9b6e68298f 100644 --- a/core/client/app/templates/post-settings-menu.hbs +++ b/core/client/app/templates/post-settings-menu.hbs @@ -41,7 +41,7 @@ {{gh-selectize id="tag-input" multiple=true - selection=existingTags + selection=model.tags content=availableTags optionValuePath="content.uuid" optionLabelPath="content.name"