summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
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 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) {