From 1099be87faee6c7c7a832d97fdbea784a3cce092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20=C3=85str=C3=B6m?= Date: Thu, 24 Sep 2020 13:29:39 +0200 Subject: [PATCH] chore: add comment to explain export in QCS --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index 36a8a53..460141f 100644 --- a/src/index.js +++ b/src/index.js @@ -108,6 +108,8 @@ export default { async getContextMenu (obj, menu) { const app = qlik.currApp(this); const isPersonalResult = await app.global.isPersonalMode(); + // This check is done because the desktop wrapper blocks downloads. + // It also blocks this feature in QCS currently as isPersonalMode returns true if ( !this.$scope.layout.allowexportxls || (isPersonalResult && isPersonalResult.qReturn)