Skip to content

Commit c74d912

Browse files
committed
updated button on chat page
1 parent 04d8dbe commit c74d912

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/chat/chat.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ export function ChatDeploy({
415415
>
416416
Cancel
417417
</Button>
418-
<Button variant='destructive' onClick={handleDelete} disabled={isDeleting}>
418+
<Button variant='default' onClick={handleDelete} disabled={isDeleting}>
419419
{isDeleting ? 'Deleting...' : 'Delete'}
420420
</Button>
421421
</ModalFooter>
@@ -532,7 +532,8 @@ function IdentifierInput({
532532
</div>
533533
) : (
534534
isValid &&
535-
value && (
535+
value &&
536+
value !== originalIdentifier && (
536537
<Tooltip.Root>
537538
<Tooltip.Trigger asChild>
538539
<div className='-translate-y-1/2 absolute top-1/2 right-2'>

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/deploy-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ export function DeployModal({
800800
{chatExists && (
801801
<Button
802802
type='button'
803-
variant='destructive'
803+
variant='default'
804804
onClick={handleChatDelete}
805805
disabled={chatSubmitting}
806806
>

0 commit comments

Comments
 (0)