mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 23:02:26 +00:00
feat: storage tree-panel section state (#7282)
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -224,7 +224,7 @@ class DirColumnView extends React.Component {
|
||||
updateCurrentDirent={this.props.updateCurrentDirent}
|
||||
/>
|
||||
)}
|
||||
{currentMode === LIST_MODE &&
|
||||
{currentMode === LIST_MODE && (
|
||||
<DirListView
|
||||
path={this.props.path}
|
||||
repoID={this.props.repoID}
|
||||
@@ -264,8 +264,8 @@ class DirColumnView extends React.Component {
|
||||
getMenuContainerSize={this.getMenuContainerSize}
|
||||
eventBus={this.props.eventBus}
|
||||
/>
|
||||
}
|
||||
{currentMode === GRID_MODE &&
|
||||
)}
|
||||
{currentMode === GRID_MODE && (
|
||||
<DirGridView
|
||||
path={this.props.path}
|
||||
repoID={this.props.repoID}
|
||||
@@ -301,7 +301,7 @@ class DirColumnView extends React.Component {
|
||||
getMenuContainerSize={this.getMenuContainerSize}
|
||||
eventBus={this.props.eventBus}
|
||||
/>
|
||||
}
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
Reference in New Issue
Block a user