mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Show version create popup when deleting a widget on released version (#3485)
This commit is contained in:
parent
33ad5d2d96
commit
b833b930bf
1 changed files with 4 additions and 0 deletions
|
|
@ -624,6 +624,8 @@ class Editor extends React.Component {
|
|||
skipAutoSave: this.isVersionReleased(),
|
||||
});
|
||||
this.handleInspectorView();
|
||||
} else if (this.isVersionReleased()) {
|
||||
this.setState({ showCreateVersionModalPrompt: true });
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -656,6 +658,8 @@ class Editor extends React.Component {
|
|||
skipAutoSave: this.isVersionReleased(),
|
||||
});
|
||||
this.handleInspectorView();
|
||||
} else {
|
||||
this.setState({ showCreateVersionModalPrompt: true });
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue