This commit is contained in:
Baobhan Sith
2025-04-25 21:45:47 +08:00
parent b955fbc8a5
commit 5b3c6f325a
4 changed files with 8 additions and 4 deletions
@@ -4,7 +4,8 @@
{{ $t('settings.notifications.title') }}
</h2>
<div v-if="store.isLoading" class="p-4 text-center text-text-secondary italic"> <!-- Loading state -->
<!-- Loading state (Only show if loading AND no settings are displayed yet) -->
<div v-if="store.isLoading && settings.length === 0" class="p-4 text-center text-text-secondary italic">
{{ $t('common.loading') }}
</div>
<div v-if="store.error" class="p-4 mb-4 border-l-4 border-error bg-error/10 text-error rounded"> <!-- Error state using error color -->