Skip to content

Commit 930dfff

Browse files
waleedlatif1claude
andcommitted
fix(logs): use emcn Button for View Snapshot action
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 214d0a8 commit 930dfff

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/logs/components/log-details

apps/sim/app/workspace/[workspaceId]/logs/components/log-details/log-details.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -587,19 +587,19 @@ export const LogDetails = memo(function LogDetails({
587587

588588
{/* Workflow State */}
589589
{showWorkflowState && (
590-
<button
591-
type='button'
592-
onClick={() => setIsExecutionSnapshotOpen(true)}
593-
className='flex h-[48px] items-center justify-between p-2 text-left transition-colors hover-hover:bg-[var(--surface-2)]'
594-
>
590+
<div className='flex h-[48px] items-center justify-between p-2'>
595591
<span className='font-medium text-[var(--text-tertiary)] text-caption'>
596592
Workflow State
597593
</span>
598-
<span className='flex items-center gap-1.5 font-medium text-[var(--text-secondary)] text-caption'>
594+
<Button
595+
variant='default'
596+
onClick={() => setIsExecutionSnapshotOpen(true)}
597+
className='gap-1.5'
598+
>
599599
View Snapshot
600-
<Eye className='h-[12px] w-[12px]' />
601-
</span>
602-
</button>
600+
<Eye className='h-3 w-3' />
601+
</Button>
602+
</div>
603603
)}
604604
</div>
605605

0 commit comments

Comments
 (0)