fix: more UI stuff
This commit is contained in:
parent
3864200ffa
commit
c3c141cac4
4 changed files with 35 additions and 16 deletions
|
|
@ -61,6 +61,17 @@ async function shoppingCartCheckout(path) {
|
|||
this.shippingZone = zone
|
||||
},
|
||||
|
||||
confirmOrder: function () {
|
||||
if (!this.shippingZone) {
|
||||
this.$q.notify({
|
||||
timeout: 5000,
|
||||
type: 'warning',
|
||||
message: 'Please select a shipping zone!',
|
||||
})
|
||||
return
|
||||
}
|
||||
this.orderConfirmed = true
|
||||
},
|
||||
async placeOrder() {
|
||||
if (!this.shippingZone) {
|
||||
this.$q.notify({
|
||||
|
|
@ -103,7 +114,7 @@ async function shoppingCartCheckout(path) {
|
|||
this.$emit('place-order', { event, order })
|
||||
|
||||
},
|
||||
goToShoppingCart: function(){
|
||||
goToShoppingCart: function () {
|
||||
this.$emit('change-page', 'shopping-cart-list')
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue