1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 05:39:59 +00:00

[dir view, repo wiki mode] show images with popup (#2834)

* [dir view, repo wiki mode] show images with popup

* [image pupup] modification
This commit is contained in:
llj
2019-01-16 17:45:46 +08:00
committed by Daniel Pan
parent 09aee97e0c
commit ca4dee899b
10 changed files with 154 additions and 6 deletions

View File

@@ -23,6 +23,7 @@ const propTypes = {
permission: PropTypes.string,
hash: PropTypes.string,
path: PropTypes.string.isRequired,
repoEncrypted: PropTypes.bool.isRequired,
// whether the file or dir corresponding to the path exist
pathExist: PropTypes.bool.isRequired,
isFileLoading: PropTypes.bool.isRequired,
@@ -243,6 +244,7 @@ class MainPanel extends Component {
<DirentListView
path={this.props.path}
repoID={repoID}
repoEncrypted={this.props.repoEncrypted}
direntList={this.props.direntList}
sortBy={this.props.sortBy}
sortOrder={this.props.sortOrder}