mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-11 03:41:12 +00:00
change context menu style (#6333)
* change menu context style * change tree view menu context
This commit is contained in:
@@ -52,6 +52,7 @@ const propTypes = {
|
||||
posX: PropTypes.number,
|
||||
posY: PropTypes.number,
|
||||
dirent: PropTypes.object,
|
||||
getMenuContainerSize: PropTypes.func,
|
||||
};
|
||||
|
||||
class DirentGridView extends React.Component {
|
||||
@@ -539,10 +540,12 @@ class DirentGridView extends React.Component {
|
||||
<ContextMenu
|
||||
id={'grid-item-contextmenu'}
|
||||
onMenuItemClick={this.onMenuItemClick}
|
||||
getMenuContainerSize={this.props.getMenuContainerSize}
|
||||
/>
|
||||
<ContextMenu
|
||||
id={'dirent-grid-container-menu'}
|
||||
onMenuItemClick={this.onMenuItemClick}
|
||||
getMenuContainerSize={this.props.getMenuContainerSize}
|
||||
/>
|
||||
{this.state.isCreateFolderDialogShow && (
|
||||
<ModalPortal>
|
||||
|
Reference in New Issue
Block a user