summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-08-08 01:07:45 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-08-08 08:02:09 +0000
commitb97d9d5eef46d5add435e38d23c856b726241cea (patch)
tree0ce3978f3a4c658d0eb5398b9c87bc1d15d1c8a9
parentdf821f60e402c0c8f1825fad40516d83faf968c4 (diff)
downloadnextcloud-server-b97d9d5eef46d5add435e38d23c856b726241cea.tar.gz
nextcloud-server-b97d9d5eef46d5add435e38d23c856b726241cea.zip
fix(systemtags): Correctly load tagged files in "tags"-files-view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-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 27a8b1c6874..4f3a847c2f5 100644
--- a/apps/systemtags/src/services/systemtags.ts
+++ b/apps/systemtags/src/services/systemtags.ts
@@ -74,7 +74,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) {