client: remove separate empty drive/empty folder messages
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

These messages are wrong when using the newly added filter and there
are no filtering results. Instead of adding yet another separate
message for an empty pagination, just show the default empty thingy
the pagination component provides already.
This commit is contained in:
Johann150 2023-03-26 13:40:26 +02:00
parent 134c3b43e6
commit 6722ccfc64
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1
2 changed files with 0 additions and 7 deletions

View file

@ -278,8 +278,6 @@ createFolder: "Create a folder"
renameFolder: "Rename this folder"
deleteFolder: "Delete this folder"
addFile: "Add a file"
emptyDrive: "Your Drive is empty"
emptyFolder: "This folder is empty"
unableToDelete: "Unable to delete"
inputNewFileName: "Enter a new filename"
inputNewDescription: "Enter new caption"

View file

@ -57,11 +57,6 @@
ref="paginationElem"
:pagination="pagination"
>
<template #empty>
<p v-if="folder == null" class="empty"><strong>{{ i18n.ts.emptyDrive }}</strong></p>
<p v-else class="empty">{{ i18n.ts.emptyFolder }}</p>
</template>
<template #default="{ items }">
<div class="contents">
<template v-for="(f, i) in items">