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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user