Skip to content

Commit

Permalink
chore(storybook): fix range slider example
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Sep 9, 2020
1 parent 55271ca commit 9b32fc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/vue-instantsearch/stories/RangeInput.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ storiesOf('ais-range-input', module)
:max="maxRange"
:lazy="true"
:value="[
minValue !== null ? minValue : minRange,
maxValue !== null ? maxValue : maxRange,
typeof minValue === 'number' ? minValue : minRange,
typeof maxValue === 'number' ? maxValue : maxRange,
]"
@change="refine({ min: $event[0], max: $event[1] })"
/>
Expand All @@ -113,8 +113,8 @@ storiesOf('ais-range-input', module)
:min="minRange"
:max="maxRange"
:value="[
minValue !== null ? minValue : minRange,
maxValue !== null ? maxValue : maxRange,
typeof minValue === 'number' ? minValue : minRange,
typeof maxValue === 'number' ? maxValue : maxRange,
]"
@input="refine({min: $event[0], max: $event[1]})"
thumb-label="always"
Expand Down

0 comments on commit 9b32fc7

Please sign in to comment.