Skip empty obsolete owner when adding to own NC
The owner field is nowadays always empty when adding a federated share using "Add to your Nextcloud", so don't check for it. Fixes an issue where "Add to your Nextcloud" doesn't add anything. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
d81954f913
commit
9f7973a70e
|
@ -99,7 +99,7 @@
|
|||
var fileList = this.filesApp.fileList;
|
||||
var params = OC.Util.History.parseUrlQuery();
|
||||
// manually add server-to-server share
|
||||
if (params.remote && params.token && params.owner && params.name) {
|
||||
if (params.remote && params.token && params.name) {
|
||||
|
||||
var callbackAddShare = function(result, share) {
|
||||
var password = share.password || '';
|
||||
|
|
Loading…
Reference in New Issue