forked from Gitlink/forgeplus-react
webhooks数量上限
This commit is contained in:
parent
2afcbe5424
commit
0bfd5c18a2
|
@ -59,7 +59,7 @@ function Index(props) {
|
|||
}
|
||||
|
||||
function addFunc() {
|
||||
if(total >= 20){
|
||||
if(total >= 50){
|
||||
return props.showNotification("webhooks数量已到上限!请删除暂不使用的webhooks以进行添加操作");
|
||||
}
|
||||
props.history.push(`/${owner}/${projectsId}/settings/webhooks/new`)
|
||||
|
|
Loading…
Reference in New Issue