diff --git a/frontend/src/components/dialog/create-file-dialog.js b/frontend/src/components/dialog/create-file-dialog.js index 850e1bb243..886dfff051 100644 --- a/frontend/src/components/dialog/create-file-dialog.js +++ b/frontend/src/components/dialog/create-file-dialog.js @@ -165,14 +165,14 @@ class CreateFile extends React.Component { )} - {this.props.fileType == '.sdoc' && ( + {/*this.props.fileType == '.sdoc' && ( - )} + )*/} {this.state.errMessage && {this.state.errMessage}} diff --git a/frontend/src/components/dirent-list-view/dirent-list-item.js b/frontend/src/components/dirent-list-view/dirent-list-item.js index d6b46f762d..a59cfac4f9 100644 --- a/frontend/src/components/dirent-list-view/dirent-list-item.js +++ b/frontend/src/components/dirent-list-view/dirent-list-item.js @@ -742,9 +742,9 @@ class DirentListItem extends React.Component { {dirent.name} : {dirent.name} } - {(Utils.isSdocFile(dirent.name) && dirent.is_sdoc_draft) && + {/*(Utils.isSdocFile(dirent.name) && dirent.is_sdoc_draft) && {gettext('Draft')} - } + */} )} diff --git a/frontend/src/utils/utils.js b/frontend/src/utils/utils.js index bb63e276e3..ce3e558ada 100644 --- a/frontend/src/utils/utils.js +++ b/frontend/src/utils/utils.js @@ -608,6 +608,7 @@ export const Utils = { } if (permission == 'rw') { + /* if (Utils.isSdocFile(dirent.name)) { if (dirent.is_sdoc_draft) { list.push(UNMARK_AS_DRAFT); @@ -615,6 +616,7 @@ export const Utils = { list.push(MARK_AS_DRAFT); } } + */ list.push('Divider'); list.push(PROPERTIES, HISTORY); if (isPro && fileAuditEnabled) {