forked from Gitlink/forgeplus-react
工作流author
This commit is contained in:
parent
c74c40b73e
commit
3b3d6dc8b1
|
|
@ -37,7 +37,7 @@ function About(props, ref) {
|
|||
const [ typeFlag, setTypeFlag] = useState(false);
|
||||
|
||||
|
||||
const AuthorLogin = props.author && props.author.login;
|
||||
const AuthorLogin = props.projectDetail && props.projectDetail.author && props.projectDetail.author.login;
|
||||
const CurrentLogin = props.current_user && props.current_user.login;
|
||||
useEffect(()=>{
|
||||
if(CurrentLogin === AuthorLogin){
|
||||
|
|
|
|||
Loading…
Reference in New Issue