Bugfix: Storybook: Hide legacy icons

There was a discrepancy in the icons displayed in
Storybook and those approved for use in the backoffice.
This commit is contained in:
leekelleher
2024-05-22 09:42:22 +01:00
parent fe0e2593f7
commit 001cb5aefe

View File

@@ -8,6 +8,7 @@ export default {
} as Meta;
const Template: Story = () => {
const approvedIcons = icons.filter((x) => x.legacy !== true);
return html`
<div
style="display: grid;
@@ -17,7 +18,7 @@ const Template: Story = () => {
place-items: start;
justify-content: space-between;">
${repeat(
icons,
approvedIcons,
(icon) => icon.name,
(icon) =>
html` <div