fix: frontend

This commit is contained in:
Saumya 2025-09-20 18:41:06 +05:30
parent 6152f184b3
commit 8f81165de9
1 changed files with 3 additions and 2 deletions

View File

@ -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<AgentModalProps> = ({
Chat
</Button>
</div>
{/* {!isSunaAgent && (
{!isSunaAgent && isStagingMode && (
<div className="pt-2">
{agent.is_public ? (
<div className="space-y-2">
@ -216,7 +217,7 @@ const AgentModal: React.FC<AgentModalProps> = ({
</Button>
)}
</div>
)} */}
)}
</div>
</div>
</DialogContent>