Skip to content

Commit

Permalink
fix(systemtags): Correctly load tagged files in "tags"-files-view
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux authored and backportbot[bot] committed Aug 8, 2024
1 parent d2f1ea9 commit e711b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/systemtags/src/services/systemtags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e711b6a

Please sign in to comment.