improve alert logging

This commit is contained in:
Matthias 2022-12-07 07:04:31 +01:00
parent 587296882c
commit ea2c1017b0

View File

@ -10,7 +10,7 @@ export const useAlertsStore = defineStore('alerts', {
this.activeMessages.push(message);
},
removeAlert(alert: AlertType) {
console.log('dismissed');
console.log('dismissed', alert);
this.activeMessages = this.activeMessages.filter((v) => v !== alert);
},
},