forked from CGM_Public/pretix_original
fix double subevent-ID in URL
This commit is contained in:
@@ -510,10 +510,6 @@ export function createWidgetStore (config: {
|
||||
// button with subevent but no items
|
||||
redirectUrl += `${this.subevent}/`
|
||||
}
|
||||
if (this.subevent && !this.cartId) {
|
||||
// button with subevent but no items
|
||||
redirectUrl += `${this.subevent}/`
|
||||
}
|
||||
redirectUrl += `?iframe=1&locale=${LANG}`
|
||||
if (this.cartId) {
|
||||
// ajax to make sure the cart-id is used, even if the cart is currently empty
|
||||
|
||||
Reference in New Issue
Block a user