From 5dcd153a40b2911fef43e499cd32c772bdfaf80b Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Mon, 15 Apr 2024 10:04:39 +0800 Subject: [PATCH] refactor(console): update org template sidebar icon (#5691) --- .../console/src/assets/icons/organization-template-feature.svg | 3 +++ .../console/src/containers/ConsoleContent/Sidebar/hook.tsx | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 packages/console/src/assets/icons/organization-template-feature.svg diff --git a/packages/console/src/assets/icons/organization-template-feature.svg b/packages/console/src/assets/icons/organization-template-feature.svg new file mode 100644 index 000000000..6df2cd2cc --- /dev/null +++ b/packages/console/src/assets/icons/organization-template-feature.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/console/src/containers/ConsoleContent/Sidebar/hook.tsx b/packages/console/src/containers/ConsoleContent/Sidebar/hook.tsx index 064cb034b..5a160896c 100644 --- a/packages/console/src/containers/ConsoleContent/Sidebar/hook.tsx +++ b/packages/console/src/containers/ConsoleContent/Sidebar/hook.tsx @@ -11,6 +11,7 @@ import Hook from '@/assets/icons/hook.svg'; import JwtClaims from '@/assets/icons/jwt-claims.svg'; import Key from '@/assets/icons/key.svg'; import List from '@/assets/icons/list.svg'; +import OrganizationTemplate from '@/assets/icons/organization-template-feature.svg'; import Organization from '@/assets/icons/organization.svg'; import UserProfile from '@/assets/icons/profile.svg'; import ResourceIcon from '@/assets/icons/resource.svg'; @@ -100,7 +101,7 @@ export const useSidebarMenuItems = (): { title: 'roles', }, { - Icon: Role, + Icon: OrganizationTemplate, title: 'organization_template', isHidden: !isDevFeaturesEnabled, },