From 8fb9063557921cfc4eee0a1b6fbe00f6a89c2711 Mon Sep 17 00:00:00 2001 From: guilhane Date: Thu, 1 Aug 2024 12:35:38 +0200 Subject: [PATCH] Add icon for CRD and change cr instances to Instances Signed-off-by: guilhane --- frontend/src/components/App/icons.ts | 3 +++ frontend/src/components/Sidebar/prepareRoutes.ts | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/App/icons.ts b/frontend/src/components/App/icons.ts index d188f1bdacf..7b5a66d3d24 100644 --- a/frontend/src/components/App/icons.ts +++ b/frontend/src/components/App/icons.ts @@ -311,6 +311,9 @@ const mdiIcons = { 'expand-all': { body: '', }, + puzzle: { + body: '', + }, }, aliases: { 'more-vert': { diff --git a/frontend/src/components/Sidebar/prepareRoutes.ts b/frontend/src/components/Sidebar/prepareRoutes.ts index 2dcdb9324b2..153820c084a 100644 --- a/frontend/src/components/Sidebar/prepareRoutes.ts +++ b/frontend/src/components/Sidebar/prepareRoutes.ts @@ -233,10 +233,11 @@ function prepareRoutes( { name: 'crds', label: t('glossary|Custom Resources'), + icon: 'mdi:puzzle', subList: [ { name: 'crs', - label: t('glossary|CR Instances'), + label: t('translation|Instances'), }, ], },