Auto-hide toasts

This commit is contained in:
Matthias 2023-09-23 16:46:27 +02:00
parent c49f00f863
commit e6ccb4ebfe

View File

@ -4,5 +4,5 @@ import { useToast } from 'bootstrap-vue-next';
export function showAlert(message: string, severity: AlertSeverity = 'warning') {
const { show } = useToast();
show(message, { title: 'Msg', variant: severity, animation: true, value: true });
show(message, { title: 'Msg', variant: severity });
}