forked from Gitlink/forgeplus-react
文件详情
This commit is contained in:
parent
bba939094c
commit
4ce8e4edd1
|
@ -165,12 +165,12 @@ class CoderRootFileDetail extends Component {
|
|||
isManager,
|
||||
isDeveloper,
|
||||
md,
|
||||
currentBranch
|
||||
currentBranch,
|
||||
platform
|
||||
} = this.props;
|
||||
const { language, languages, description } = this.state;
|
||||
let flag = current_user && current_user.login && (isManager || isDeveloper);
|
||||
const Option = Select.Option;
|
||||
|
||||
return (
|
||||
<div className="mb20">
|
||||
<div className="grid-item branchTitle">
|
||||
|
@ -180,7 +180,7 @@ class CoderRootFileDetail extends Component {
|
|||
</span>
|
||||
</div>
|
||||
<p className="text-right">
|
||||
{flag && (
|
||||
{flag && platform && (
|
||||
<div>
|
||||
{readOnly ? (
|
||||
<span>
|
||||
|
|
Loading…
Reference in New Issue