Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhem-lm committed Jan 8, 2025
1 parent a6afb72 commit 09656aa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/lib/components/triggers/CaptureTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import ToggleButtonGroup from '../common/toggleButton-v2/ToggleButtonGroup.svelte'
import Button from '../common/button/Button.svelte'
import CustomPopover from '../CustomPopover.svelte'
import { Webhook, Route, Unplug, Mail } from 'lucide-svelte'
import { Webhook, Route, Unplug, Mail, Play } from 'lucide-svelte'
import KafkaIcon from '$lib/components/icons/KafkaIcon.svelte'
import { isObject } from '$lib/utils'
import { createEventDispatcher, onDestroy } from 'svelte'
Expand Down Expand Up @@ -303,8 +303,12 @@
}
}}
disabled={testKind === 'preprocessor' && !hasPreprocessor}
title={isFlow && testKind === 'main'
? 'Test flow with args'
: 'Apply args to preprocessor'}
startIcon={isFlow && testKind === 'main' ? { icon: Play } : {}}
>
{isFlow && testKind === 'main' ? 'Test flow with args' : 'Apply args'}
{isFlow && testKind === 'main' ? 'Test' : 'Apply args'}
</Button>
{/if}
</div>
Expand Down

0 comments on commit 09656aa

Please sign in to comment.