From 82f7368e10452fc30cd80a37f81b3e70e610e054 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 8 Aug 2024 01:07:45 +0200 Subject: [PATCH] fix(systemtags): Correctly load tagged files in "tags"-files-view Signed-off-by: Ferdinand Thiessen --- apps/systemtags/src/services/systemtags.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => { } } - const tagId = parseInt(path.split('/', 2)[0]) + const tagId = parseInt(path.split('/', 2)[1]) const tag = tagsCache.find(tag => tag.id === tagId) if (!tag) {