From 888a827b93d1726a215c0114243d0c5667854438 Mon Sep 17 00:00:00 2001 From: Joe <33972521+hnb-ku@users.noreply.github.com> Date: Tue, 3 Jul 2018 12:02:50 +0800 Subject: [PATCH] FIX: removes inline styles applied to "all categories" in category dropdown "all categories" in the category dropdown gets category-like inline styles when category mode is set to "box" --- .../components/category-drop/category-drop-header.js.es6 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/assets/javascripts/select-kit/components/category-drop/category-drop-header.js.es6 b/app/assets/javascripts/select-kit/components/category-drop/category-drop-header.js.es6 index 89c088a9f01..35f0e2adb33 100644 --- a/app/assets/javascripts/select-kit/components/category-drop/category-drop-header.js.es6 +++ b/app/assets/javascripts/select-kit/components/category-drop/category-drop-header.js.es6 @@ -55,10 +55,6 @@ export default ComboBoxSelectBoxHeaderComponent.extend({ return style.htmlSafe(); } } - - if (categoryStyle === "box") { - return `background-color: ${categoryBackgroundColor}; color: ${categoryTextColor}`.htmlSafe(); - } }, didRender() {