forked from CGM_Public/pretix_original
Update widget.js
This commit is contained in:
@@ -150,7 +150,7 @@ Vue.component('availbox', {
|
|||||||
+ '<input type="checkbox" value="1" v-bind:name="input_name">'
|
+ '<input type="checkbox" value="1" v-bind:name="input_name">'
|
||||||
+ '</label>'
|
+ '</label>'
|
||||||
+ '<input type="number" class="pretix-widget-item-count-multiple" placeholder="0" min="0"'
|
+ '<input type="number" class="pretix-widget-item-count-multiple" placeholder="0" min="0"'
|
||||||
+ ' :value="$root.itemnum == 1 ? 1 : false" v-bind:max="order_max" v-bind:name="input_name"'
|
+ ' :value="($root.itemnum == 1 && !item.has_variations) ? 1 : false" v-bind:max="order_max" v-bind:name="input_name"'
|
||||||
+ ' v-if="order_max !== 1">'
|
+ ' v-if="order_max !== 1">'
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
+ '</div>'),
|
+ '</div>'),
|
||||||
|
|||||||
Reference in New Issue
Block a user