Skip to content

Commit ae2e32c

Browse files
Julien Veyssierbackportbot[bot]
authored andcommitted
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>
1 parent 654fdb2 commit ae2e32c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/comments/src/filesplugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
context.$file.find('.action-comment').tooltip('hide')
104104
// open sidebar in comments section
105105
OCA.Files.Sidebar.setActiveTab('comments')
106-
OCA.Files.Sidebar.open('/' + fileName)
106+
OCA.Files.Sidebar.open(context.dir + '/' + fileName)
107107
},
108108
})
109109

0 commit comments

Comments
 (0)