From 21ec0476fdcf560d69d8742c378ac113eea48f7e Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard18 <93984341+VWSCoronaDashboard18@users.noreply.github.com> Date: Tue, 21 Mar 2023 11:01:12 +0100 Subject: [PATCH 1/2] chore: remove VR references from GM sidebar --- packages/app/src/domain/layout/gm-layout.tsx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/app/src/domain/layout/gm-layout.tsx b/packages/app/src/domain/layout/gm-layout.tsx index 99e5a94927..8a1c7d4bc3 100644 --- a/packages/app/src/domain/layout/gm-layout.tsx +++ b/packages/app/src/domain/layout/gm-layout.tsx @@ -4,13 +4,10 @@ import { Menu, MenuRenderer } from '~/components/aside/menu'; import { Box } from '~/components/base'; import { ErrorBoundary } from '~/components/error-boundary'; import { AppContent } from '~/components/layout/app-content'; -import { Anchor, Heading, Text } from '~/components/typography'; +import { Heading } from '~/components/typography'; import { VisuallyHidden } from '~/components/visually-hidden'; import { useIntl } from '~/intl'; import { space } from '~/style/theme'; -import { getVrForMunicipalityCode } from '~/utils/get-vr-for-municipality-code'; -import { Link } from '~/utils/link'; -import { useReverseRouter } from '~/utils/use-reverse-router'; import { GmComboBox } from './components/gm-combo-box'; import { useSidebar } from './logic/use-sidebar'; @@ -53,14 +50,11 @@ export function GmLayout(props: GmLayoutProps) { const { commonTexts } = useIntl(); const router = useRouter(); - const reverseRouter = useReverseRouter(); const showMetricLinks = router.route !== '/gemeente'; const isMainRoute = router.route === '/gemeente'; - const vr = getVrForMunicipalityCode(code); - const items = useSidebar({ layout: 'gm', code: code, @@ -105,14 +99,6 @@ export function GmLayout(props: GmLayoutProps) { {commonTexts.gemeente_layout.headings.sidebar} {municipalityName} - {vr && ( - - {commonTexts.common.veiligheidsregio_label}{' '} - - {vr.name} - - - )} From ae05d01eaa1b160b147b32eea43c365a40751986 Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard18 <93984341+VWSCoronaDashboard18@users.noreply.github.com> Date: Tue, 21 Mar 2023 11:10:35 +0100 Subject: [PATCH 2/2] chore: remove key from sanity --- packages/cms/src/lokalize/key-mutations.csv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/cms/src/lokalize/key-mutations.csv b/packages/cms/src/lokalize/key-mutations.csv index d3f334b996..847042e29b 100644 --- a/packages/cms/src/lokalize/key-mutations.csv +++ b/packages/cms/src/lokalize/key-mutations.csv @@ -1,4 +1,5 @@ timestamp,action,key,document_id,move_to +2023-03-21T10:10:15.918Z,delete,common.common.veiligheidsregio_label,jF33EuwumlGuwav2FD3gOS,__ 2023-03-21T10:20:24.789Z,add,common.variant_codes.XBB_1_9,RyCRpDTGPDLYu6gaddCWdr,__ 2023-03-21T10:20:26.048Z,add,common.variant_codes.XBB_1_5_1,ps9F7aH5kHk3YIueyBw9hz,__ 2023-03-21T10:20:27.093Z,add,common.variant_codes.XBB_2_3,ps9F7aH5kHk3YIueyBwAHn,__ @@ -7,3 +8,5 @@ timestamp,action,key,document_id,move_to 2023-03-21T10:20:30.147Z,add,common.variant_codes.XBF,ps9F7aH5kHk3YIueyBwB9V,__ 2023-03-21T12:32:29.754Z,delete,common.variant_codes.XBB_1_6,ps9F7aH5kHk3YIueyBwAgr,__ 2023-03-21T12:35:01.148Z,add,common.variant_codes.XBB_1_16,qAiz52vTEAxO2GlVGsTNF8,__ + +