From 22ee54a9c785b322ea15c9a669fb1cb3ab6fda17 Mon Sep 17 00:00:00 2001 From: Mia Wong Date: Thu, 22 Aug 2024 10:26:38 -0400 Subject: [PATCH] Hide commands to download application archive in embedded cluster (#4839) --- web/src/Root.tsx | 8 ++++++- .../components/tree/KotsApplicationTree.tsx | 23 +++++++++++-------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/web/src/Root.tsx b/web/src/Root.tsx index a8c718f4a3..205f253177 100644 --- a/web/src/Root.tsx +++ b/web/src/Root.tsx @@ -784,7 +784,13 @@ const Root = () => { /> } + element={ + + } /> { return (
-
- Need to edit these files?{" "} - - Click here - {" "} - to learn how -
+ {!this.props.isEmbeddedCluster && ( +
+ Need to edit these files?{" "} + + Click here + {" "} + to learn how +
+ )}