diff --git a/pinry-spa/src/components/editors/BoardEditUI.vue b/pinry-spa/src/components/editors/BoardEditUI.vue index 69a6b76..134da48 100644 --- a/pinry-spa/src/components/editors/BoardEditUI.vue +++ b/pinry-spa/src/components/editors/BoardEditUI.vue @@ -43,7 +43,9 @@ export default { this.$emit('board-delete-succeed', this.board.id); }, () => { - this.$buefy.toast.open('Failed to delete Board'); + this.$buefy.toast.open( + { type: 'is-danger', message: 'Failed to delete Board' }, + ); }, ); }, diff --git a/pinry-spa/src/components/editors/PinEditorUI.vue b/pinry-spa/src/components/editors/PinEditorUI.vue index 9783a62..47fb945 100644 --- a/pinry-spa/src/components/editors/PinEditorUI.vue +++ b/pinry-spa/src/components/editors/PinEditorUI.vue @@ -50,7 +50,9 @@ export default { this.$emit('pin-delete-succeed', this.pin.id); }, () => { - this.$buefy.toast.open('Failed to delete Pin'); + this.$buefy.toast.open( + { type: 'is-danger', message: 'Failed to delete Pin' }, + ); }, ); },