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:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "chopin-frontend",
|
"name": "chopin-frontend",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host --port 8080",
|
"dev": "vite --host --port 8080",
|
||||||
|
@@ -136,10 +136,12 @@ function updateSlots() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
allSlots.value.forEach((slot, index) => {
|
allSlots.value.forEach((slot, index) => {
|
||||||
if(slot.props.mobile == undefined) return;
|
if(typeof slot.props?.mobile !== 'undefined') {
|
||||||
if (slot.props.mobile == '' && (window.innerWidth > 769 && window.innerHeight > 607)) {
|
if (slot.props.mobile == '' && (window.innerWidth > 769 && window.innerHeight > 607)) {
|
||||||
allSlots.value.splice(index, 1);
|
allSlots.value.splice(index, 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user