fix: able to use default channel to send webhook message now

This commit is contained in:
JustSong
2023-05-10 16:05:18 +08:00
parent 1d32544019
commit 34b9633417
2 changed files with 26 additions and 1 deletions
+13
View File
@@ -195,6 +195,14 @@ const WebhooksTable = () => {
>
状态
</Table.HeaderCell>
<Table.HeaderCell
style={{ cursor: 'pointer' }}
onClick={() => {
sortWebhook('channel');
}}
>
通道
</Table.HeaderCell>
<Table.HeaderCell
style={{ cursor: 'pointer' }}
onClick={() => {
@@ -220,6 +228,11 @@ const WebhooksTable = () => {
<Table.Cell>{webhook.id}</Table.Cell>
<Table.Cell>{webhook.name}</Table.Cell>
<Table.Cell>{renderStatus(webhook.status)}</Table.Cell>
<Table.Cell>
<Label>
{webhook.channel ? webhook.channel : '默认通道'}
</Label>
</Table.Cell>
<Table.Cell>
{renderTimestamp(webhook.created_time)}
</Table.Cell>