From 8f81165de9f035d57fc2bf64215d1a82bac65291 Mon Sep 17 00:00:00 2001 From: Saumya Date: Sat, 20 Sep 2025 18:41:06 +0530 Subject: [PATCH] fix: frontend --- frontend/src/components/agents/agents-grid.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/agents/agents-grid.tsx b/frontend/src/components/agents/agents-grid.tsx index 91cccee7..2f65f890 100644 --- a/frontend/src/components/agents/agents-grid.tsx +++ b/frontend/src/components/agents/agents-grid.tsx @@ -11,6 +11,7 @@ import { AgentCard } from './custom-agents-page/agent-card'; import { KortixLogo } from '../sidebar/kortix-logo'; import { DynamicIcon } from 'lucide-react/dynamic'; import { AgentConfigurationDialog } from './agent-configuration-dialog'; +import { isStagingMode } from '@/lib/config'; interface Agent { agent_id: string; @@ -165,7 +166,7 @@ const AgentModal: React.FC = ({ Chat - {/* {!isSunaAgent && ( + {!isSunaAgent && isStagingMode && (
{agent.is_public ? (
@@ -216,7 +217,7 @@ const AgentModal: React.FC = ({ )}
- )} */} + )}