1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

show repos who are used in dialog recently (#7001)

* show repos who are used in dialog recently

* optimize code

* update RecentlyUsedListView props

---------

Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
Aries
2024-11-09 16:48:46 +08:00
committed by GitHub
parent f316cbd2a8
commit a6fea93637
5 changed files with 51 additions and 23 deletions

View File

@@ -95,7 +95,7 @@ class MoveDirent extends React.Component {
return;
}
this.props.onItemsMove(repo, selectedPath);
this.props.onItemsMove(repo, selectedPath, true);
this.toggle();
};
@@ -131,7 +131,7 @@ class MoveDirent extends React.Component {
return;
}
this.props.onItemMove(repo, this.props.dirent, selectedPath, this.props.path);
this.props.onItemMove(repo, this.props.dirent, selectedPath, this.props.path, true);
this.toggle();
};