This commit is contained in:
Baobhan Sith
2025-04-25 19:20:46 +08:00
parent f4a2e28078
commit 073d9d3f95
2 changed files with 4 additions and 2 deletions
@@ -26,7 +26,8 @@
<!-- List Area -->
<div class="flex-grow overflow-y-auto p-2">
<!-- Loading State -->
<div v-if="isLoading" class="p-6 text-center text-text-secondary text-sm flex flex-col items-center justify-center h-full">
<!-- Loading State (Only show if loading AND no commands are displayed yet) -->
<div v-if="isLoading && filteredAndSortedCommands.length === 0" class="p-6 text-center text-text-secondary text-sm flex flex-col items-center justify-center h-full">
<i class="fas fa-spinner fa-spin text-xl mb-2"></i>
<p>{{ t('common.loading', '加载中...') }}</p>
</div>