fix(activities): drop duplicate empty-state line on ActivityList
The empty state rendered "No activities found" twice — once as the heading and once as the description below, because `activities.noActivities` and `activities.search.noResults` translate to the same string in every locale. Drop the description paragraph (and its mb-1 spacer on the heading).
This commit is contained in:
parent
9753c4aea4
commit
2e96d60f8f
1 changed files with 1 additions and 4 deletions
|
|
@ -43,12 +43,9 @@ const { t } = useI18n()
|
||||||
class="flex flex-col items-center justify-center py-16 text-center"
|
class="flex flex-col items-center justify-center py-16 text-center"
|
||||||
>
|
>
|
||||||
<CalendarSearch class="w-16 h-16 text-muted-foreground opacity-30 mb-4" />
|
<CalendarSearch class="w-16 h-16 text-muted-foreground opacity-30 mb-4" />
|
||||||
<h3 class="text-lg font-medium text-foreground mb-1">
|
<h3 class="text-lg font-medium text-foreground">
|
||||||
{{ t('activities.noActivities') }}
|
{{ t('activities.noActivities') }}
|
||||||
</h3>
|
</h3>
|
||||||
<p class="text-sm text-muted-foreground">
|
|
||||||
{{ t('activities.search.noResults') }}
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Activity grid — compact mode collapses to a single column of
|
<!-- Activity grid — compact mode collapses to a single column of
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue