refactor: Update TriggerData.svelte to fix condition check for output type
This commit is contained in:
@@ -277,7 +277,7 @@
|
||||
</SelectInput>
|
||||
{#if
|
||||
(value.type !== 'start' && (effect.type === 'systemprompt' || effect.type === 'stop')) ||
|
||||
(value.type === 'output' && effect.type === 'sendAIprompt')
|
||||
(value.type !== 'output' && effect.type === 'sendAIprompt')
|
||||
}
|
||||
<span class="text-red-400 text-sm">{language.invaildTriggerEffect}</span>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user