Skip to content

Commit

Permalink
Check for invalid range
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Oct 6, 2023
1 parent 5dac1d8 commit 7c0be69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/components/range/DynamicRangeSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ const DynamicRangeSlider = {
},

render() {
if (!this.range || !this.currentValue) {
if (!this.range || !this.currentValue || this.range.start === null || this.range.end === null || this.range.start === this.range.end) {
return null;
}
const { start, end } = this.range;
Expand Down

0 comments on commit 7c0be69

Please sign in to comment.