Skip to content

Commit

Permalink
Merge pull request #47120 from nextcloud/fix/systemtags
Browse files Browse the repository at this point in the history
fix(systemtags): Correctly load tagged files in "tags"-files-view
  • Loading branch information
AndyScherzinger authored Aug 8, 2024
2 parents 5e5a51a + 60924a6 commit 2777cf9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/systemtags/src/services/systemtags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions dist/systemtags-init.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/systemtags-init.js.map

Large diffs are not rendered by default.

0 comments on commit 2777cf9

Please sign in to comment.