From 09a8ffd09ec98bd8831f51f0beecdea1cdd7ed47 Mon Sep 17 00:00:00 2001 From: dragnoir Date: Wed, 6 Mar 2024 14:53:15 +0100 Subject: [PATCH] Fix: add textSupporting style --- src/pages/workspace/categories/WorkspaceCategoriesPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx index 9c851a54aafa..4b42e2ebb98e 100644 --- a/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx +++ b/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx @@ -57,7 +57,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP isSelected: !!selectedCategories[value.name], rightElement: ( - + {value.enabled ? translate('workspace.common.enabled') : translate('workspace.common.disabled')} @@ -69,7 +69,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP ), })), - [policyCategories, selectedCategories, styles.alignSelfCenter, styles.disabledText, styles.flexRow, styles.label, styles.p1, styles.pl2, theme.icon, translate], + [policyCategories, selectedCategories, styles.alignSelfCenter, styles.flexRow, styles.label, styles.p1, styles.pl2, styles.textSupporting, theme.icon, translate], ); const toggleCategory = (category: PolicyForList) => {