1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 19:08:21 +00:00

[sdoc] commented out 'draft' related code (#5723)

This commit is contained in:
llj
2023-10-31 10:14:43 +08:00
committed by GitHub
parent 2e97b4e341
commit a7e814bcf1
3 changed files with 6 additions and 4 deletions

View File

@@ -165,14 +165,14 @@ class CreateFile extends React.Component {
</Label>
</FormGroup>
)}
{this.props.fileType == '.sdoc' && (
{/*this.props.fileType == '.sdoc' && (
<FormGroup check>
<Label check>
<Input type="checkbox" checked={isSdocDraft} onChange={this.toggleMarkSdocDraft}/>
<span>{gettext('Mark as draft')}</span>
</Label>
</FormGroup>
)}
)*/}
</Form>
{this.state.errMessage && <Alert color="danger" className="mt-2">{this.state.errMessage}</Alert>}
</ModalBody>