mirror of
https://github.com/pretix/pretix.git
synced 2026-09-14 16:24:43 +00:00
wat
This commit is contained in:
@@ -31,8 +31,8 @@ export const allItems = ref<any[]>([])
|
|||||||
|
|
||||||
const itemsEl = document.querySelector('#items')
|
const itemsEl = document.querySelector('#items')
|
||||||
if (itemsEl?.textContent) {
|
if (itemsEl?.textContent) {
|
||||||
allItems.value = JSON.parse(itemsEl.textContent || '[]');
|
allItems.value = JSON.parse(itemsEl.textContent || '[]')
|
||||||
activeItems.value = allItems.value.filter(item => item.active);
|
activeItems.value = allItems.value.filter(item => item.active)
|
||||||
|
|
||||||
function checkForInvalidIds (validProducts: Record<string, string>, validVariations: Record<string, string>, rule: any) {
|
function checkForInvalidIds (validProducts: Record<string, string>, validVariations: Record<string, string>, rule: any) {
|
||||||
if (rule['and']) {
|
if (rule['and']) {
|
||||||
|
|||||||
Reference in New Issue
Block a user