1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

improve move copy code (#4522)

This commit is contained in:
杨顺强
2020-04-11 17:54:52 +08:00
committed by GitHub
parent 5591bbd1d6
commit 1f1b58f1db
2 changed files with 5 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ class DirentListItem extends React.PureComponent {
}
componentWillReceiveProps(nextProps) {
if (!nextProps.isItemFreezed) {
if (nextProps.isItemFreezed !== this.props.isItemFreezed && !nextProps.isItemFreezed) {
this.setState({
highlight: false,
isOperationShow: false,