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>
|
||||||
|
{scrollable && (
|
||||||
<Bullets
|
<Bullets
|
||||||
activeIndex={activeIndex}
|
activeIndex={activeIndex}
|
||||||
allSlides={slides.length}
|
allSlides={slides.length}
|
||||||
visibleSlides={visibleSlides}
|
visibleSlides={visibleSlides}
|
||||||
changeSlide={changeSlide}
|
changeSlide={changeSlide}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue