Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix comments file action sidebar opening
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
  • Loading branch information
Julien Veyssier authored and backportbot[bot] committed Jul 27, 2021
commit 6fe61cc8b311c4b5fa04ecca26e5b31cc178d0bb
2 changes: 1 addition & 1 deletion apps/comments/src/filesplugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
context.$file.find('.action-comment').tooltip('hide')
// open sidebar in comments section
OCA.Files.Sidebar.setActiveTab('comments')
OCA.Files.Sidebar.open('/' + fileName)
OCA.Files.Sidebar.open(context.dir + '/' + fileName)
},
})

Expand Down