mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-04 08:01:54 +00:00
remove copilot on top of preprocessor
This commit is contained in:
@@ -11,11 +11,9 @@
|
||||
import { msToSec } from '$lib/utils'
|
||||
import BarsStaggered from '$lib/components/icons/BarsStaggered.svelte'
|
||||
import FlowJobsMenu from './FlowJobsMenu.svelte'
|
||||
import FlowCopilotButton from './FlowCopilotButton.svelte'
|
||||
|
||||
export let mod: FlowModule
|
||||
export let insertable: boolean
|
||||
export let disableAi: boolean
|
||||
export let annotation: string | undefined = undefined
|
||||
export let bgColor: string = ''
|
||||
export let modules: FlowModule[]
|
||||
@@ -63,9 +61,6 @@
|
||||
|
||||
{#if mod}
|
||||
<div class="relative">
|
||||
{#if insertable && !disableAi && mod.id === 'preprocessor'}
|
||||
<FlowCopilotButton className="absolute left-1/2 transform -translate-x-1/2 z-10 -top-10" />
|
||||
{/if}
|
||||
{#if moving == mod.id}
|
||||
<div class="absolute z-10 right-20 top-0.5 center-center">
|
||||
<Button color="dark" on:click={() => dispatch('move')} size="xs" variant="border">
|
||||
|
||||
@@ -61,7 +61,6 @@
|
||||
moving={data.moving}
|
||||
duration_ms={state?.duration_ms}
|
||||
retries={data.retries}
|
||||
disableAi={data.disableAi}
|
||||
{flowJobs}
|
||||
on:delete={(e) => {
|
||||
data.eventHandlers.delete(e.detail, '')
|
||||
|
||||
Reference in New Issue
Block a user