From 48f36d43eb60343a09ad9381af1af08a7c8c11d5 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Mon, 5 Jul 2021 14:42:17 -0400 Subject: [PATCH] DEV: Remove duplicate `filterable` option in tag-drop (#13640) Has no effect and raises a console deprecation warning. --- .../javascripts/select-kit/addon/components/tag-drop.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/javascripts/select-kit/addon/components/tag-drop.js b/app/assets/javascripts/select-kit/addon/components/tag-drop.js index db19faa6a75..7ef59011c44 100644 --- a/app/assets/javascripts/select-kit/addon/components/tag-drop.js +++ b/app/assets/javascripts/select-kit/addon/components/tag-drop.js @@ -1,4 +1,4 @@ -import { equal, gte, readOnly } from "@ember/object/computed"; +import { equal, readOnly } from "@ember/object/computed"; import { i18n, setting } from "discourse/lib/computed"; import ComboBoxComponent from "select-kit/components/combo-box"; import DiscourseURL, { getCategoryAndTagUrl } from "discourse/lib/url"; @@ -43,8 +43,6 @@ export default ComboBoxComponent.extend(TagsMixin, { noTagsSelected: equal("tagId", NONE_TAG_ID), - filterable: gte("content.length", 15), - init() { this._super(...arguments);