This commit is contained in:
Mira Weller
2026-06-02 13:10:04 +02:00
parent ca11db6a4e
commit 75ac192ffa
@@ -31,8 +31,8 @@ export const allItems = ref<any[]>([])
const itemsEl = document.querySelector('#items')
if (itemsEl?.textContent) {
allItems.value = JSON.parse(itemsEl.textContent || '[]');
activeItems.value = allItems.value.filter(item => item.active);
allItems.value = JSON.parse(itemsEl.textContent || '[]')
activeItems.value = allItems.value.filter(item => item.active)
function checkForInvalidIds (validProducts: Record<string, string>, validVariations: Record<string, string>, rule: any) {
if (rule['and']) {