diff --git a/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppColors/ColorsApp/ColorStyleSegments.stories.tsx b/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppColors/ColorsApp/ColorStyleSegments.stories.tsx index 6b5aaebf2..087e0b1d3 100644 --- a/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppColors/ColorsApp/ColorStyleSegments.stories.tsx +++ b/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppColors/ColorsApp/ColorStyleSegments.stories.tsx @@ -10,7 +10,7 @@ const meta: Meta = { }, //tags: ['autodocs'], argTypes: { - initialSelectedSegment: { + selectedSegment: { control: 'select', options: Object.values(ColorAppSegments), description: 'The initially selected segment' @@ -34,12 +34,12 @@ type Story = StoryObj; export const Default: Story = { args: { - initialSelectedSegment: ColorAppSegments.Colorful + selectedSegment: ColorAppSegments.Colorful } }; export const MonochromeSelected: Story = { args: { - initialSelectedSegment: ColorAppSegments.Monochrome + selectedSegment: ColorAppSegments.Monochrome } };