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)