summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-08-08 01:07:45 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-08-08 01:07:45 +0200
commit82f7368e10452fc30cd80a37f81b3e70e610e054 (patch)
treeacc6ef6392c14de47af80e0a28e3e79380b67fe0 /apps
parent749dc7d9aea4005efd0152545111c76a1bfdcbd8 (diff)
downloadnextcloud-server-82f7368e10452fc30cd80a37f81b3e70e610e054.tar.gz
nextcloud-server-82f7368e10452fc30cd80a37f81b3e70e610e054.zip
fix(systemtags): Correctly load tagged files in "tags"-files-view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/systemtags/src/services/systemtags.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/systemtags/src/services/systemtags.ts b/apps/systemtags/src/services/systemtags.ts
index f29bb83984b..47cf9194d8b 100644
--- a/apps/systemtags/src/services/systemtags.ts
+++ b/apps/systemtags/src/services/systemtags.ts
@@ -57,7 +57,7 @@ export const getContents = async (path = '/'): Promise<ContentsWithRoot> => {
}
}
- const tagId = parseInt(path.split('/', 2)[0])
+ const tagId = parseInt(path.split('/', 2)[1])
const tag = tagsCache.find(tag => tag.id === tagId)
if (!tag) {