1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 09:51:26 +00:00

Open the edit page when the content is not empty (#3458)

* Open the edit page when the content is not empty

* Use size instead of content

* change func name

* Replace getMarkdownSize with showColumnMarkdownFile
This commit is contained in:
zxj96
2019-05-14 16:58:59 +08:00
committed by Daniel Pan
parent b266592463
commit b5bd705516
2 changed files with 15 additions and 4 deletions

View File

@@ -20,7 +20,6 @@ const propTypes = {
onMenuItemClick: PropTypes.func,
onNodeDragMove: PropTypes.func,
onNodeDrop: PropTypes.func,
appMenuType: PropTypes.oneOf(['list_view_contextmenu', 'item_contextmenu', 'tree_contextmenu', 'item_op_menu']),
handleContextClick: PropTypes.func.isRequired,
onNodeDragEnter: PropTypes.func.isRequired,
onNodeDragLeave:PropTypes.func.isRequired,
@@ -207,7 +206,6 @@ class TreeNodeView extends React.Component {
onNodeDrop={this.props.onNodeDrop}
onNodeDragEnter={this.props.onNodeDragEnter}
onNodeDragLeave={this.props.onNodeDragLeave}
appMenuType={this.props.appMenuType}
handleContextClick={this.props.handleContextClick}
/>
);