修复webhooks issue

This commit is contained in:
何童崇 2022-03-01 16:13:21 +08:00
parent 768a44f8b3
commit e3f859b131
1 changed files with 5 additions and 6 deletions

View File

@ -180,12 +180,11 @@ function New({ form , match , showNotification , history }) {
subTitle={`删除后未来事件将不会推送至此Webhook地址${data && data.url}`}
/>
<Banner>
<Link to={`/${owner}/${projectsId}/settings/webhooks`} className="color-blue">
<i className="iconfont icon-zuojiantou mr5 font-16"></i>
Webhooks
</Link>
{/* <Button type="primary" size="large">{id ? "更新" : "添加"}Webhook</Button> */}
<span>
<Link to={`/${owner}/${projectsId}/settings/webhooks`} className="color-blue">Webhooks</Link>
<i className="iconfont icon-youjiantou ml5 mr5 font-12"></i>
<span>{id ? "更新" : "添加"}Webhook</span>
</span>
</Banner>
<div>
<p className="deschead mg"><span>当webhook被触发时我们将向以下URL发送通知包括已选择事件的详细信息更多信息可查阅<a className="color-blue hoverLine" target="_blank" href="https://forum.trustie.net/forums/3408/detail">webhooks指南</a></span></p>