fix(dashboard-v2): fix Slider bullets showing unnecessarily
This commit is contained in:
parent
92c2860ccb
commit
279bd8cb8c
|
@ -61,12 +61,14 @@ const Slider = ({ slides, breakpoints }) => {
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</Scroller>
|
</Scroller>
|
||||||
<Bullets
|
{scrollable && (
|
||||||
activeIndex={activeIndex}
|
<Bullets
|
||||||
allSlides={slides.length}
|
activeIndex={activeIndex}
|
||||||
visibleSlides={visibleSlides}
|
allSlides={slides.length}
|
||||||
changeSlide={changeSlide}
|
visibleSlides={visibleSlides}
|
||||||
/>
|
changeSlide={changeSlide}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue