Skip to content

Commit

Permalink
show default icon if access package area has no icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunnerud committed Dec 13, 2024
1 parent a58366b commit 9f8cc29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const accessPackageAreaSkatt = {
urn: 'accesspackage:area:skatt_avgift_regnskap_og_toll',
name: 'Skatt',
description: '',
icon: 'BankNoteIcon',
icon: '',
areaGroup: 'Vanlig',
packages: [skattPackage],
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const PolicyAccessPackages = (): React.ReactElement => {
return (
<PolicyAccordion
key={`${searchValue}-${area.id}`}
icon={area.icon}
icon={area.icon || 'PackageIcon'}
title={area.name}
subTitle={area.description}
defaultOpen={!!searchValue}
Expand Down

0 comments on commit 9f8cc29

Please sign in to comment.