Item quantity adjustment button now shows loading while in progress

This commit is contained in:
Stefan Zermatten
2022-03-03 15:54:44 +02:00
parent 4edfe1bcb9
commit c4429f5dd7
4 changed files with 41 additions and 15 deletions

View File

@@ -10,11 +10,12 @@
<template #activator="{ on }">
<v-btn
v-bind="$attrs"
:loading="loading"
v-on="on"
@click.stop
>
<slot>
<v-icon>mdi-plus</v-icon>
<v-icon>$vuetify.icons.abacus</v-icon>
</slot>
</v-btn>
</template>
@@ -42,6 +43,7 @@ export default {
type: Number,
required: true,
},
loading: Boolean,
},
data(){return {
open: false