From 55e6fcfc2f6194423b32542a50dabcf72f7de21d Mon Sep 17 00:00:00 2001 From: Pranav Kanade Date: Mon, 7 Jun 2021 11:30:10 +0530 Subject: [PATCH] App viewer will not be able to export app (#4938) --- app/client/src/pages/Applications/ApplicationCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/src/pages/Applications/ApplicationCard.tsx b/app/client/src/pages/Applications/ApplicationCard.tsx index e65dc5f501..e7ed55a90e 100644 --- a/app/client/src/pages/Applications/ApplicationCard.tsx +++ b/app/client/src/pages/Applications/ApplicationCard.tsx @@ -300,7 +300,7 @@ export function ApplicationCard(props: ApplicationCardProps) { cypressSelector: "t--fork-app", }); } - if (!!props.enableImportExport) { + if (!!props.enableImportExport && hasEditPermission) { moreActionItems.push({ onSelect: exportApplicationAsJSONFile, text: "Export",