aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FileEntryGrid.vue
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-11-15 01:51:28 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-11-20 19:08:21 +0100
commit675e7a953f15e22578da5e37054fe6a2f34f7de5 (patch)
tree0918e1438c9c9e34fd784ffdfe21a1932a958865 /apps/files/src/components/FileEntryGrid.vue
parent3822db51742eb12c67b525cab80ec0699e011684 (diff)
downloadnextcloud-server-675e7a953f15e22578da5e37054fe6a2f34f7de5.tar.gz
nextcloud-server-675e7a953f15e22578da5e37054fe6a2f34f7de5.zip
refactor(files): Provide `useFileListWidth` composable
Replace the mixin with a composable, this is better typed and works in both: Options- and Composition API. Also added component tests for it. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/components/FileEntryGrid.vue')
-rw-r--r--apps/files/src/components/FileEntryGrid.vue2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files/src/components/FileEntryGrid.vue b/apps/files/src/components/FileEntryGrid.vue
index f0b086ac891..0b0344afb99 100644
--- a/apps/files/src/components/FileEntryGrid.vue
+++ b/apps/files/src/components/FileEntryGrid.vue
@@ -38,7 +38,6 @@
<FileEntryName ref="name"
:basename="basename"
:extension="extension"
- :files-list-width="filesListWidth"
:grid-mode="true"
:nodes="nodes"
:source="source"
@@ -58,7 +57,6 @@
<!-- Actions -->
<FileEntryActions ref="actions"
:class="`files-list__row-actions-${uniqueId}`"
- :files-list-width="filesListWidth"
:grid-mode="true"
:loading.sync="loading"
:opened.sync="openedMenu"