chore: add comment to explain export in QCS

This commit is contained in:
Tobias Åström
2020-09-24 13:29:39 +02:00
committed by GitHub
parent 13c5b9613d
commit 1099be87fa

View File

@@ -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)