Skip to content

Commit

Permalink
fix(files): Display selected files count
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Apr 17, 2024
1 parent b4004a2 commit a999544
Showing 1 changed file with 6 additions and 0 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

0 comments on commit a999544

Please sign in to comment.