From 362801a15d3a269e9fa4bbff75d104daf7e3cf35 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 17 Mar 2022 10:54:22 +0100 Subject: [PATCH] Fix document ID in drive history mode --- www/common/inner/common-modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/inner/common-modal.js b/www/common/inner/common-modal.js index 2226c7b9b..7bbe7bdbc 100644 --- a/www/common/inner/common-modal.js +++ b/www/common/inner/common-modal.js @@ -61,9 +61,9 @@ define([ // If this is a file, don't try to look for metadata if (opts.channel && opts.channel.length > 32) { return; } - if (opts.channel) { data.channel = opts.channel; } Modal.loadMetadata(Env, data, waitFor); }).nThen(function () { + if (opts.channel) { data.channel = opts.channel; } cb(void 0, data); }); };