mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
add-diff-replace
This commit is contained in:
@@ -406,6 +406,9 @@ class DraftReview extends React.Component {
|
||||
else if (node.data.get('diff_state') === 'diff-removed' && lastDiffState !== 'diff-removed') {
|
||||
keys.push(node.key);
|
||||
}
|
||||
else if (node.data.get('diff_state') === 'diff-replaced' && lastDiffState !== 'diff-replaced') {
|
||||
keys.push(node.key);
|
||||
}
|
||||
lastDiffState = node.data.get('diff_state');
|
||||
});
|
||||
this.setState({
|
||||
|
Reference in New Issue
Block a user