fix alerts in panels

This commit is contained in:
Henry Jameson 2024-02-28 14:25:22 +02:00
commit 39eee4412f
2 changed files with 5 additions and 1 deletions

View file

@ -14,7 +14,7 @@
<div
v-if="currentSaveStateNotice"
class="alert"
:class="{ transparent: !currentSaveStateNotice.error, error: currentSaveStateNotice.error}"
:class="{ success: !currentSaveStateNotice.error, error: currentSaveStateNotice.error}"
@click.prevent
>
{{ currentSaveStateNotice.error ? $t('settings.saving_err') : $t('settings.saving_ok') }}