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:
@@ -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}
|
||||
/>
|
||||
);
|
||||
|
Reference in New Issue
Block a user