Explorar o código

Merge branch 'belanger/agent-v3-integration' into dev

Alexander Belanger %!s(int64=3) %!d(string=hai) anos
pai
achega
2422ff5632

+ 4 - 0
dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedChart.tsx

@@ -711,6 +711,10 @@ const ExpandedChart: React.FC<Props> = (props) => {
 
   // Check if porter agent is installed. If not installed hide the `Logs` component
   useEffect(() => {
+    if (!currentCluster.agent_integration_enabled) {
+      return;
+    }
+
     api
       .detectPorterAgent(
         "<token>",