Merge pull request #54192 from nextcloud/fix-federated-sharing-bug

This commit is contained in:
John Molakvoæ 2025-08-01 10:43:30 +02:00 committed by GitHub
commit e8fbb0dfa5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -35,7 +35,8 @@ window.OCA.Sharing.showAddExternalDialog = function(share, passwordProtected, ca
.replace(/\/$/, '') // remove trailing slash
showRemoteShareDialog(name, owner, remote, passwordProtected)
.then((result, password) => callback(result, { ...share, password }))
// eslint-disable-next-line n/no-callback-literal
.then((password) => callback(true, { ...share, password }))
// eslint-disable-next-line n/no-callback-literal
.catch(() => callback(false, share))
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long