mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 11:35:14 +00:00
Auto-hide toasts
This commit is contained in:
parent
c49f00f863
commit
e6ccb4ebfe
|
@ -4,5 +4,5 @@ import { useToast } from 'bootstrap-vue-next';
|
||||||
export function showAlert(message: string, severity: AlertSeverity = 'warning') {
|
export function showAlert(message: string, severity: AlertSeverity = 'warning') {
|
||||||
const { show } = useToast();
|
const { show } = useToast();
|
||||||
|
|
||||||
show(message, { title: 'Msg', variant: severity, animation: true, value: true });
|
show(message, { title: 'Msg', variant: severity });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user