1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

update comment panel

This commit is contained in:
Michael An
2019-05-29 12:02:07 +08:00
parent 51e90a88d2
commit 3b5d9e2e36
12 changed files with 384 additions and 46 deletions

View File

@@ -87,6 +87,7 @@ const propTypes = {
updateDetail: PropTypes.bool.isRequired,
onListContainerScroll: PropTypes.func.isRequired,
onDirentClick: PropTypes.func.isRequired,
direntDetailPanelTab: PropTypes.string,
};
class LibContentContainer extends React.Component {
@@ -223,6 +224,7 @@ class LibContentContainer extends React.Component {
onItemsCopy={this.props.onItemsCopy}
onItemsDelete={this.props.onItemsDelete}
onFileTagChanged={this.props.onFileTagChanged}
showDirentDetail={this.props.showDirentDetail}
/>
)}
{this.props.currentMode === 'grid' && (
@@ -335,6 +337,7 @@ class LibContentContainer extends React.Component {
currentRepoInfo={this.props.currentRepoInfo}
onFileTagChanged={this.props.onFileTagChanged}
onItemDetailsClose={this.props.closeDirentDetail}
direntDetailPanelTab={this.props.direntDetailPanelTab}
/>
}
</div>