Skip to content

Commit

Permalink
Merge pull request #44805 from nextcloud/fix/selected-files-count
Browse files Browse the repository at this point in the history
fix(files): Display selected files count
  • Loading branch information
Pytal authored Apr 17, 2024
2 parents 863b091 + 939f01d commit 8fb6d15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -357,6 +358,11 @@ export default defineComponent({
flex-direction: column;
}
.files-list__selected {
padding-right: 12px;
white-space: nowrap;
}
.files-list__table {
display: block;
Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit 8fb6d15

Please sign in to comment.