文件详情

This commit is contained in:
caishi 2020-10-22 22:24:49 +08:00
parent bba939094c
commit 4ce8e4edd1
1 changed files with 3 additions and 3 deletions

View File

@ -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>