From 9f8cc296bc23ec93d920fb2b5e379d5339e9e4fb Mon Sep 17 00:00:00 2001 From: Martin Gunnerud Date: Fri, 13 Dec 2024 11:01:33 +0100 Subject: [PATCH] show default icon if access package area has no icon --- .../PolicyAccessPackages/PolicyAccessPackages.test.tsx | 2 +- .../PolicyRule/PolicyAccessPackages/PolicyAccessPackages.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyAccessPackages/PolicyAccessPackages.test.tsx b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyAccessPackages/PolicyAccessPackages.test.tsx index 7e7548f66f2..7dff30771c9 100644 --- a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyAccessPackages/PolicyAccessPackages.test.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyAccessPackages/PolicyAccessPackages.test.tsx @@ -45,7 +45,7 @@ const accessPackageAreaSkatt = { urn: 'accesspackage:area:skatt_avgift_regnskap_og_toll', name: 'Skatt', description: '', - icon: 'BankNoteIcon', + icon: '', areaGroup: 'Vanlig', packages: [skattPackage], }; diff --git a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyAccessPackages/PolicyAccessPackages.tsx b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyAccessPackages/PolicyAccessPackages.tsx index 1c57cabff98..17539128e4f 100644 --- a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyAccessPackages/PolicyAccessPackages.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyAccessPackages/PolicyAccessPackages.tsx @@ -150,7 +150,7 @@ export const PolicyAccessPackages = (): React.ReactElement => { return (