From 11f373ddd8da4bd5a005015518eb32794481f4b1 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Tue, 7 Jun 2022 23:27:14 +0200 Subject: [PATCH] Improved slotCard UI --- app/imports/ui/creature/slots/SlotCard.vue | 6 +++--- app/imports/ui/creature/slots/SlotCardsToFill.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/imports/ui/creature/slots/SlotCard.vue b/app/imports/ui/creature/slots/SlotCard.vue index 704ddfe5..b282bfff 100644 --- a/app/imports/ui/creature/slots/SlotCard.vue +++ b/app/imports/ui/creature/slots/SlotCard.vue @@ -24,11 +24,11 @@ - Skip + mdi-close diff --git a/app/imports/ui/creature/slots/SlotCardsToFill.vue b/app/imports/ui/creature/slots/SlotCardsToFill.vue index 88d3e816..506ebc20 100644 --- a/app/imports/ui/creature/slots/SlotCardsToFill.vue +++ b/app/imports/ui/creature/slots/SlotCardsToFill.vue @@ -40,7 +40,7 @@ export default { }, error => { if (error){ console.error(error); - snackbar(error); + snackbar({text: error.reason || error.message || error.toString()}); } }); }, @@ -63,7 +63,7 @@ export default { }, error => { if (error){ console.error(error); - snackbar(error); + snackbar({text: error.reason || error.message || error.toString()}); } }); return `slot-child-${newPropertyId}`;