From dbc323e12abb9d50a174bbe0de5c36ee54e66a12 Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Wed, 25 Mar 2020 23:32:32 +0530 Subject: [PATCH] Fix the typo. --- app/assets/javascripts/select-kit/components/tag-chooser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/select-kit/components/tag-chooser.js b/app/assets/javascripts/select-kit/components/tag-chooser.js index ff43a16b660..65e7597aa95 100644 --- a/app/assets/javascripts/select-kit/components/tag-chooser.js +++ b/app/assets/javascripts/select-kit/components/tag-chooser.js @@ -25,7 +25,7 @@ export default MultiSelectComponent.extend(TagsMixin, { excludeHasSynonyms: false, canCreateTag: computed("site.can_create_tag", "allowCreate", function() { - return this.allowCreate || this.site.can_create_tag; + return this.allowCreate && this.site.can_create_tag; }), maximumTagCount: computed(