export function switch1_change(event) {
// This function was added from the Properties & Events panel. To learn more, visit Velo: Working with the Properties & Events Panel | Help Center | Wix.com
// Add your code for this event here:
if ($w( “#switch1” ).checked) {
$w( “#shopDataset” ).setFilter(wixData.filter()
.eq( “type” , “Lager” ));
} else {
$w( “#shopDataset” ).setFilter(wixData.filter()); // To Reset the Filter
}
}