Skip to content

Commit

Permalink
Change icon for template
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseikrauchanka committed Oct 28, 2024
1 parent 9b7c579 commit a711120
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/entry-app/src/app/components/agents/agent/agent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
Archive,
ContentCopy,
CopyAll,
Dashboard,
Delete,
DragHandle,
PushPin,
Expand Down Expand Up @@ -262,10 +263,10 @@ export const Agent = ({ id, name, prefix, focused, number, type, userId, isArchi
<IconButton
aria-label="Clone"
size="sm"
color="primary"
color="warning"
onClick={type === 'agent' ? handleMakeAgentTemplate : handleMakeCloneOfAgentTemplate}
>
<ContentCopy />
{type === 'agent' ? <Dashboard /> : <ContentCopy />}
</IconButton>
{userId === loggedInUserId && (
<IconButton aria-label="Delete" size="sm" color="danger" onClick={handleRemoveAgent}>
Expand Down

0 comments on commit a711120

Please sign in to comment.