diff --git a/app/imports/ui/components/IncrementButton.vue b/app/imports/ui/components/IncrementButton.vue
index 3d7ad623..865ec7bb 100644
--- a/app/imports/ui/components/IncrementButton.vue
+++ b/app/imports/ui/components/IncrementButton.vue
@@ -10,11 +10,12 @@
- mdi-plus
+ $vuetify.icons.abacus
@@ -42,6 +43,7 @@ export default {
type: Number,
required: true,
},
+ loading: Boolean,
},
data(){return {
open: false
diff --git a/app/imports/ui/properties/components/inventory/ItemListTile.vue b/app/imports/ui/properties/components/inventory/ItemListTile.vue
index 8a7a599d..d6e64249 100644
--- a/app/imports/ui/properties/components/inventory/ItemListTile.vue
+++ b/app/imports/ui/properties/components/inventory/ItemListTile.vue
@@ -28,12 +28,9 @@
color="primary"
:disabled="context.editPermission === false"
:value="model.quantity"
+ :loading="incrementLoading"
@change="changeQuantity"
- >
-
- $vuetify.icons.abacus
-
-
+ />
{
+ this.incrementLoading = false;
+ if (error){
+ snackbar({text: error.reason});
+ console.error(error);
+ }
});
}
},
diff --git a/app/imports/ui/properties/viewers/AttributeViewer.vue b/app/imports/ui/properties/viewers/AttributeViewer.vue
index b1225c8c..8e9cc4a4 100644
--- a/app/imports/ui/properties/viewers/AttributeViewer.vue
+++ b/app/imports/ui/properties/viewers/AttributeViewer.vue
@@ -31,12 +31,9 @@
tile
color="primary"
:value="model.value"
+ :loading="damagePropertyLoading"
@change="damageProperty"
- >
-
- $vuetify.icons.abacus
-
-
+ />
{
+ this.damagePropertyLoading = false;
+ if (error){
+ snackbar({text: error.reason});
+ console.error(error);
+ }
});
},
},
diff --git a/app/imports/ui/properties/viewers/ItemViewer.vue b/app/imports/ui/properties/viewers/ItemViewer.vue
index d03e2afb..d5f07aab 100644
--- a/app/imports/ui/properties/viewers/ItemViewer.vue
+++ b/app/imports/ui/properties/viewers/ItemViewer.vue
@@ -15,11 +15,10 @@
large
outlined
color="primary"
+ :loading="incrementLoading"
:value="model.quantity"
@change="changeQuantity"
- >
- $vuetify.icons.abacus
-
+ />
{
+ this.incrementLoading = false;
+ if (error){
+ snackbar({text: error.reason});
+ console.error(error);
+ }
});
- }
+ },
}
}