Update login alert to work on new bootstrap version

This commit is contained in:
Matthias 2023-01-04 13:31:43 +01:00
parent 6a0bf44e45
commit 7fd5c2826b
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@
></b-form-input>
</b-form-group>
<div>
<b-alert v-if="errorMessage" class="alert-wrap" show variant="warning">
<b-alert v-if="errorMessage" class="alert-wrap" :model-value="true" variant="warning">
{{ errorMessage }}
<br />
<span v-if="errorMessageCORS">

View File

@ -18,5 +18,5 @@ export const useAlertsStore = defineStore('alerts', {
export function showAlert(message: string, severity: AlertSeverity = 'warning') {
const alertsStore = useAlertsStore();
alertsStore.addAlert({ message, severity, timeout: 5 });
alertsStore.addAlert({ message, severity, timeout: 5000 });
}