mirror of
https://github.com/pinry/pinry.git
synced 2025-11-18 02:40:40 +01:00
Refactor: Add is-danger for failure toast
This commit is contained in:
committed by
Isaac Bythewood
parent
e455821ac6
commit
83413d47f6
@@ -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' },
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user