Merge pull request #1679 from escapade-mckv/designer-agent-new

fix: frontend
This commit is contained in:
Bobbie 2025-09-20 18:42:32 +05:30 committed by GitHub
commit 2af41a9382
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 { KortixLogo } from '../sidebar/kortix-logo';
import { DynamicIcon } from 'lucide-react/dynamic'; import { DynamicIcon } from 'lucide-react/dynamic';
import { AgentConfigurationDialog } from './agent-configuration-dialog'; import { AgentConfigurationDialog } from './agent-configuration-dialog';
import { isStagingMode } from '@/lib/config';
interface Agent { interface Agent {
agent_id: string; agent_id: string;
@ -165,7 +166,7 @@ const AgentModal: React.FC<AgentModalProps> = ({
Chat Chat
</Button> </Button>
</div> </div>
{/* {!isSunaAgent && ( {!isSunaAgent && isStagingMode && (
<div className="pt-2"> <div className="pt-2">
{agent.is_public ? ( {agent.is_public ? (
<div className="space-y-2"> <div className="space-y-2">
@ -216,7 +217,7 @@ const AgentModal: React.FC<AgentModalProps> = ({
</Button> </Button>
)} )}
</div> </div>
)} */} )}
</div> </div>
</div> </div>
</DialogContent> </DialogContent>