diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-04-12 11:49:24 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-04-17 10:32:03 -0700 |
commit | a999544ff22745d442b93e280fde308983968f09 (patch) | |
tree | eb392b3fd487be5f0eb7f48ba16234da626fbddc /apps/files | |
parent | b4004a258296bbe8563a5c76f8e611976c2a7ffd (diff) | |
download | nextcloud-server-a999544ff22745d442b93e280fde308983968f09.tar.gz nextcloud-server-a999544ff22745d442b93e280fde308983968f09.zip |
fix(files): Display selected files count
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/components/FilesListVirtual.vue | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue index ffa17240fe0..15311ccb90f 100644 --- a/apps/files/src/components/FilesListVirtual.vue +++ b/apps/files/src/components/FilesListVirtual.vue @@ -34,6 +34,7 @@ :scroll-to-index="scrollToIndex" :caption="caption"> <template v-if="!isNoneSelected" #header-overlay> + <span class="files-list__selected">{{ t('files', '{count} selected', { count: selectedNodes.length }) }}</span> <FilesListTableHeaderActions :current-view="currentView" :selected-nodes="selectedNodes" /> </template> @@ -357,6 +358,11 @@ export default defineComponent({ flex-direction: column; } + .files-list__selected { + padding-right: 12px; + white-space: nowrap; + } + .files-list__table { display: block; |