Skip to content

Commit

Permalink
Web: Files: Added re-render rows when is process restoring for disabl…
Browse files Browse the repository at this point in the history
…e rows.
  • Loading branch information
TatianaLopaeva committed Nov 3, 2021
1 parent 9c8d0da commit e25759e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ class SectionBodyContent extends React.Component {

onSetRestoreProcess = (isRestoreProcess) => {
console.log("onSetRestoreProcess", isRestoreProcess);

this.listKey += 1;

this.setState({
isRestoreProcess,
});
Expand Down Expand Up @@ -94,6 +97,7 @@ class SectionBodyContent extends React.Component {
console.log("this.state. render list", this.state);
return (
<List
key={this.listKey}
ref={this.listRef}
className="List"
height={height}
Expand Down

0 comments on commit e25759e

Please sign in to comment.