diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-08 01:07:45 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-08 01:07:45 +0200 |
commit | 82f7368e10452fc30cd80a37f81b3e70e610e054 (patch) | |
tree | acc6ef6392c14de47af80e0a28e3e79380b67fe0 /apps | |
parent | 749dc7d9aea4005efd0152545111c76a1bfdcbd8 (diff) | |
download | nextcloud-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.ts | 2 |
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) { |