1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 02:10:24 +00:00

update image dialog, add download, delete and view original image button (#6670)

* update image dialog, add download, delete and view original image button

* update react-image-lightbox

* add-image-rotate-api

* support restore in image previewer

* support image rotate

* upgrade react-image-lightbox

* fix bug - first image auto previewed in list layout, improve delete and restore action

* remove raise

* fix last line

---------

Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
Co-authored-by: Michael An <2331806369@qq.com>
This commit is contained in:
Aries
2024-09-03 10:31:42 +08:00
committed by GitHub
parent 670ee89f24
commit 89b4e92fa6
17 changed files with 384 additions and 17 deletions

View File

@@ -42,6 +42,7 @@ const propTypes = {
loadDirentList: PropTypes.func,
fullDirentList: PropTypes.array,
getMenuContainerSize: PropTypes.func,
eventBus: PropTypes.object,
};
class DirListView extends React.Component {
@@ -105,6 +106,7 @@ class DirListView extends React.Component {
showDirentDetail={this.props.showDirentDetail}
loadDirentList={this.props.loadDirentList}
getMenuContainerSize={this.props.getMenuContainerSize}
eventBus={this.props.eventBus}
/>
</Fragment>
);