Skip to content

Commit

Permalink
Merge pull request #47128 from nextcloud/backport/47120/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(systemtags): Correctly load tagged files in "tags"-files-view
  • Loading branch information
skjnldsv authored Aug 8, 2024
2 parents d90a456 + b97ef6e commit 6fae82a
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 @@ -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
4 changes: 2 additions & 2 deletions dist/systemtags-init.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6fae82a

Please sign in to comment.