summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-11-13 17:09:33 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2025-02-18 12:34:11 +0100
commitd693dc9a00fa1f7bbbe33cc7e68415dfa1a36efd (patch)
tree5210f9522705928c18646358e93b108a62b95314 /apps/files_sharing
parent6f30c32aca8a1db6a7465898f9573a8a923fa06c (diff)
downloadnextcloud-server-d693dc9a00fa1f7bbbe33cc7e68415dfa1a36efd.tar.gz
nextcloud-server-d693dc9a00fa1f7bbbe33cc7e68415dfa1a36efd.zip
fix(files): Properly reset all file list filters on view change
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/src/filters/AccountFilter.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/src/filters/AccountFilter.ts b/apps/files_sharing/src/filters/AccountFilter.ts
index 29e8088dc23..8da4d85d67c 100644
--- a/apps/files_sharing/src/filters/AccountFilter.ts
+++ b/apps/files_sharing/src/filters/AccountFilter.ts
@@ -66,6 +66,10 @@ class AccountFilter extends FileListFilter {
})
}
+ public reset(): void {
+ this.currentInstance?.resetFilter()
+ }
+
public setAccounts(accounts?: IAccountData[]) {
this.filterAccounts = accounts
let chips: IFileListFilterChip[] = []