Skip to content

Commit

Permalink
#10649 uncomment clearing master data on unmounting MasterWindow (#10651
Browse files Browse the repository at this point in the history
)

Co-authored-by: Petrica Nanca <petrica.nanca@metasfresh.com>
  • Loading branch information
siemiatj and Petrica Nanca committed Feb 17, 2021
1 parent 2c24f47 commit 28c9c00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/containers/MasterWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ class MasterWindowContainer extends PureComponent {
}

componentWillUnmount() {
// const { clearMasterData } = this.props;
const { clearMasterData } = this.props;

// clearMasterData();
// this.deleteTabsTables();
clearMasterData();
this.deleteTabsTables();
disconnectWS.call(this);
}

Expand Down

0 comments on commit 28c9c00

Please sign in to comment.