From 77cffcb04933795b41b73ccb3850c77c5905dbb7 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 29 Jul 2024 18:52:09 +0200 Subject: fix(files_sharing): Make account file filter consistent have design Signed-off-by: Ferdinand Thiessen --- apps/files/src/components/FileListFilters.vue | 10 +++++++++- apps/files/src/store/filters.ts | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'apps/files/src') diff --git a/apps/files/src/components/FileListFilters.vue b/apps/files/src/components/FileListFilters.vue index 5cdc4e877fd..1bd1dd627af 100644 --- a/apps/files/src/components/FileListFilters.vue +++ b/apps/files/src/components/FileListFilters.vue @@ -14,7 +14,14 @@ + @close="chip.onclick"> + + @@ -25,6 +32,7 @@ import { t } from '@nextcloud/l10n' import { computed, ref, watchEffect } from 'vue' import { useFiltersStore } from '../store/filters.ts' +import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js' import NcChip from '@nextcloud/vue/dist/Components/NcChip.js' const filterStore = useFiltersStore() diff --git a/apps/files/src/store/filters.ts b/apps/files/src/store/filters.ts index abc12732fd4..a5e3421f726 100644 --- a/apps/files/src/store/filters.ts +++ b/apps/files/src/store/filters.ts @@ -65,6 +65,8 @@ export const useFiltersStore = defineStore('keyboard', { onFilterUpdateChips(event: FilterUpdateChipsEvent) { const id = (event.target as IFileListFilter).id this.chips = { ...this.chips, [id]: [...event.detail] } + + logger.debug('File list filter chips updated', { filter: id, chips: event.detail }) }, init() { -- cgit v1.2.3