Version 1.0.1 - Modification Carousel
All checks were successful
Frontend Deployment / deploy-frontend (push) Successful in 33s
All checks were successful
Frontend Deployment / deploy-frontend (push) Successful in 33s
This commit is contained in:
@@ -136,10 +136,12 @@ function updateSlots() {
|
||||
}
|
||||
}
|
||||
allSlots.value.forEach((slot, index) => {
|
||||
if(slot.props.mobile == undefined) return;
|
||||
if (slot.props.mobile == '' && (window.innerWidth > 769 && window.innerHeight > 607)) {
|
||||
allSlots.value.splice(index, 1);
|
||||
if(typeof slot.props?.mobile !== 'undefined') {
|
||||
if (slot.props.mobile == '' && (window.innerWidth > 769 && window.innerHeight > 607)) {
|
||||
allSlots.value.splice(index, 1);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user