mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
migrate widget bugfix #5886
This commit is contained in:
@@ -86,7 +86,8 @@ function onStep (e: Event) {
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// Auto-select first item if single item with no variations
|
// Auto-select first item if single item with no variations
|
||||||
if (
|
if (
|
||||||
store.itemnum === 1
|
!store.cartExists
|
||||||
|
&& store.itemnum === 1
|
||||||
&& (!store.categories[0]?.items[0]?.has_variations || store.categories[0]?.items[0]?.variations.length < 2)
|
&& (!store.categories[0]?.items[0]?.has_variations || store.categories[0]?.items[0]?.variations.length < 2)
|
||||||
&& !store.hasSeatingPlan
|
&& !store.hasSeatingPlan
|
||||||
&& quantity.value
|
&& quantity.value
|
||||||
|
|||||||
Reference in New Issue
Block a user