Inverted logic for qr code. If iphone generate with amount, else do not.
This commit is contained in:
@@ -44,10 +44,10 @@ export default {
|
|||||||
},
|
},
|
||||||
vippsUrlBasedOnUserAgent: function() {
|
vippsUrlBasedOnUserAgent: function() {
|
||||||
if (navigator.userAgent.includes('iPhone')) {
|
if (navigator.userAgent.includes('iPhone')) {
|
||||||
return vippsUrl = "https://qr.vipps.no/28/2/01/031/4797740427?v=1&m=Vinlotteri%20🍾&a=" + this.price
|
return "https://qr.vipps.no/28/2/01/031/4797740427?v=1&m=Vinlotteri%20🍾&a=" + this.price
|
||||||
}
|
}
|
||||||
|
|
||||||
return "https://qr.vipps.no/28/2/01/031/4797740427?v=1&m=Vinlotteri%20🍾"
|
return vippsUrl = "https://qr.vipps.no/28/2/01/031/4797740427?v=1&m=Vinlotteri%20🍾"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user