mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(files_sharing): bypass sidebar call and return null straight away
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
This commit is contained in:
parent
eb53d1a700
commit
7f59f39eb4
1 changed files with 2 additions and 1 deletions
|
|
@ -136,7 +136,8 @@ export const action = new FileAction({
|
|||
// You need read permissions to see the sidebar
|
||||
if ((node.permissions & Permission.READ) !== 0) {
|
||||
window.OCA?.Files?.Sidebar?.setActiveTab?.('sharing')
|
||||
return sidebarAction.exec(node, view, dir)
|
||||
sidebarAction.exec(node, view, dir)
|
||||
return null
|
||||
}
|
||||
|
||||
// Should not happen as the enabled check should prevent this
|
||||
|
|
|
|||
Loading…
Reference in a new issue