fix: remove all webhooks from a watchlist

This commit is contained in:
Maël Gangloff 2024-08-18 00:31:48 +02:00
parent 3c9669b2cd
commit 304ff4e55f
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -209,9 +209,10 @@ export function WatchlistForm({form, connectors, onFinish, isCreation}: {
}]}
noStyle
>
<Input placeholder={'slack://TOKEN@default?channel=CHANNEL'} style={{width: '60%'}} autoComplete='off'/>
<Input placeholder={'slack://TOKEN@default?channel=CHANNEL'} style={{width: '60%'}}
autoComplete='off'/>
</Form.Item>
{fields.length > 1 ? (
{fields.length > 0 ? (
<MinusCircleOutlined
className="dynamic-delete-button"
onClick={() => remove(field.name)}