Fix document ID in drive history mode

pull/1/head
yflory 3 years ago
parent 8f086e00fe
commit 362801a15d

@ -61,9 +61,9 @@ define([
// If this is a file, don't try to look for metadata // If this is a file, don't try to look for metadata
if (opts.channel && opts.channel.length > 32) { return; } if (opts.channel && opts.channel.length > 32) { return; }
if (opts.channel) { data.channel = opts.channel; }
Modal.loadMetadata(Env, data, waitFor); Modal.loadMetadata(Env, data, waitFor);
}).nThen(function () { }).nThen(function () {
if (opts.channel) { data.channel = opts.channel; }
cb(void 0, data); cb(void 0, data);
}); });
}; };

Loading…
Cancel
Save