mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 15:34:17 +01:00
fix(webui): show different empty state if library is empty
This commit is contained in:
parent
ddeab07dcb
commit
68a9f7a79c
1 changed files with 9 additions and 2 deletions
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
<v-container fluid>
|
||||
<empty-state
|
||||
v-if="totalPages === 0"
|
||||
v-if="totalPages === 0 && sortOrFilterActive"
|
||||
:title="$t('common.filter_no_matches')"
|
||||
:sub-title="$t('common.use_filter_panel_to_change_filter')"
|
||||
icon="mdi-book-multiple"
|
||||
|
|
@ -78,7 +78,14 @@
|
|||
<v-btn @click="resetSortAndFilters">{{ $t('common.reset_filters') }}</v-btn>
|
||||
</empty-state>
|
||||
|
||||
<template v-else>
|
||||
<empty-state
|
||||
v-if="totalPages === 0 && !sortOrFilterActive"
|
||||
:title="$t('common.nothing_to_show')"
|
||||
icon="mdi-help-circle"
|
||||
icon-color="secondary"
|
||||
/>
|
||||
|
||||
<template v-if="totalPages > 0">
|
||||
<v-pagination
|
||||
v-if="totalPages > 1"
|
||||
v-model="page"
|
||||
|
|
|
|||
Loading…
Reference in a new issue