取消上一个commit的修改

This commit is contained in:
caishi 2021-03-05 15:59:30 +08:00
parent f33f1f3ce5
commit 99174c2782
1 changed files with 1 additions and 2 deletions

View File

@ -143,12 +143,11 @@ function Dispose(props){
} }
const operate = current_user && (permission && permission !== "Reporter"); const operate = current_user && (permission && permission !== "Reporter");
const operate_params = current_user && (permission && permission === "Owner");
return( return(
<Spin spinning={spining}> <Spin spinning={spining}>
<PipelineName branchList={branchList} visible={visible} value={updateInfo} onCancel={()=>setVisible(false)} onOk={onOk}/> <PipelineName branchList={branchList} visible={visible} value={updateInfo} onCancel={()=>setVisible(false)} onOk={onOk}/>
<div className="disposePanel"> <div className="disposePanel">
<Head manager={ operate ? toModalManage : undefined} parameter={operate_params ? toparameter :undefined}/> <Head manager={ operate ? toModalManage : undefined} parameter={operate ? toparameter :undefined}/>
<Div> <Div>
{ operate && <Blueback onClick={()=>addNew(undefined,undefined)}>新增流水线</Blueback> } { operate && <Blueback onClick={()=>addNew(undefined,undefined)}>新增流水线</Blueback> }
<div className="mt20 disposeList"> <div className="mt20 disposeList">