Added publication and subscription support in Schema Diff. Fixes #6153

This commit is contained in:
Pradip Parkale
2021-02-15 16:05:40 +05:30
committed by Akshay Joshi
parent c1e80ac38a
commit 44cc7a308a
32 changed files with 3287 additions and 140 deletions

View File

@@ -207,7 +207,7 @@ export default class BodyWidget extends React.Component {
}, ()=>this.registerKeyboardShortcuts());
});
this.props.panel.on(window.wcDocker.EVENT.CLOSING, () => {
this.props.panel?.on(window.wcDocker?.EVENT.CLOSING, () => {
if(this.state.dirty) {
this.closeOnSave = false;
this.confirmBeforeClose();