Browse Source
Merge pull request #54192 from nextcloud/fix-federated-sharing-bug
pull/54131/head
John Molakvoæ
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
5 additions and
4 deletions
-
apps/federatedfilesharing/src/external.js
-
dist/federatedfilesharing-external.js
-
dist/federatedfilesharing-external.js.map
|
|
|
@ -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)) |
|
|
|
} |
|
|
|
|