From 6062d0e9c44c7324959cf27bee3f85cc6b1e2507 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Thu, 5 Mar 2026 16:07:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20fix=20disabled=20color?= =?UTF-8?q?=20on=20icon=20Dropdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the item was disabled, the icon color was not updated to the disabled color. This commit fixes this issue by applying the disabled color to the icon when the item is disabled. --- CHANGELOG.md | 4 ++++ .../src/assets/icons/ui-kit/content_copy.svg | 7 +++++-- .../impress/src/assets/icons/ui-kit/delete.svg | 7 +++++-- .../impress/src/assets/icons/ui-kit/history.svg | 7 +++++-- .../src/components/dropdown-menu/DropdownMenu.tsx | 14 ++++++++++---- 5 files changed, 29 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dda6548c..47679f4b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,10 @@ and this project adheres to - 🐛(frontend) analytic feature flags problem #1953 +### Fixed + +- 🐛(frontend) fix disabled color on icon Dropdown #1950 + ## [v4.6.0] - 2026-03-03 ### Added diff --git a/src/frontend/apps/impress/src/assets/icons/ui-kit/content_copy.svg b/src/frontend/apps/impress/src/assets/icons/ui-kit/content_copy.svg index 163d768c7..16abe5b26 100644 --- a/src/frontend/apps/impress/src/assets/icons/ui-kit/content_copy.svg +++ b/src/frontend/apps/impress/src/assets/icons/ui-kit/content_copy.svg @@ -1,3 +1,6 @@ - - + + diff --git a/src/frontend/apps/impress/src/assets/icons/ui-kit/delete.svg b/src/frontend/apps/impress/src/assets/icons/ui-kit/delete.svg index 5936fced3..112f8a5e1 100644 --- a/src/frontend/apps/impress/src/assets/icons/ui-kit/delete.svg +++ b/src/frontend/apps/impress/src/assets/icons/ui-kit/delete.svg @@ -1,3 +1,6 @@ - - + + diff --git a/src/frontend/apps/impress/src/assets/icons/ui-kit/history.svg b/src/frontend/apps/impress/src/assets/icons/ui-kit/history.svg index 1193d9355..0764780bf 100644 --- a/src/frontend/apps/impress/src/assets/icons/ui-kit/history.svg +++ b/src/frontend/apps/impress/src/assets/icons/ui-kit/history.svg @@ -1,3 +1,6 @@ - - + + diff --git a/src/frontend/apps/impress/src/components/dropdown-menu/DropdownMenu.tsx b/src/frontend/apps/impress/src/components/dropdown-menu/DropdownMenu.tsx index 0832472ae..629e6e43b 100644 --- a/src/frontend/apps/impress/src/components/dropdown-menu/DropdownMenu.tsx +++ b/src/frontend/apps/impress/src/components/dropdown-menu/DropdownMenu.tsx @@ -250,15 +250,21 @@ export const DropdownMenu = ({ {option.icon && typeof option.icon === 'string' && ( )} - {option.icon && - typeof option.icon !== 'string' && - option.icon} + + {option.icon && typeof option.icon !== 'string' && ( + + {option.icon} + + )} {option.label}