File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
frontend/app/[locale]/setup/agents/components/agent Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -428,11 +428,8 @@ export default function SubAgentPool({
428428 onClick = { ( e ) => {
429429 e . preventDefault ( ) ;
430430 e . stopPropagation ( ) ;
431- if ( isEffectivelyAvailable ) {
432- handleViewCallRelationship ( agent ) ;
433- }
431+ handleViewCallRelationship ( agent ) ;
434432 } }
435- disabled = { ! isEffectivelyAvailable }
436433 className = "agent-action-button agent-action-button-blue"
437434 />
438435 </ TooltipTrigger >
@@ -451,11 +448,8 @@ export default function SubAgentPool({
451448 onClick = { ( e ) => {
452449 e . preventDefault ( ) ;
453450 e . stopPropagation ( ) ;
454- if ( isEffectivelyAvailable ) {
455- onExportAgent ( agent ) ;
456- }
451+ onExportAgent ( agent ) ;
457452 } }
458- disabled = { ! isEffectivelyAvailable }
459453 className = "agent-action-button agent-action-button-green"
460454 />
461455 </ TooltipTrigger >
@@ -475,11 +469,8 @@ export default function SubAgentPool({
475469 onClick = { ( e ) => {
476470 e . preventDefault ( ) ;
477471 e . stopPropagation ( ) ;
478- if ( isEffectivelyAvailable ) {
479- onDeleteAgent ( agent ) ;
480- }
472+ onDeleteAgent ( agent ) ;
481473 } }
482- disabled = { ! isEffectivelyAvailable }
483474 className = "agent-action-button agent-action-button-red"
484475 />
485476 </ TooltipTrigger >
You can’t perform that action at this time.
0 commit comments