mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added publication and subscription support in Schema Diff. Fixes #6153
This commit is contained in:
committed by
Akshay Joshi
parent
c1e80ac38a
commit
44cc7a308a
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user