diff options
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) { |