mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
Fixed issue on app crash while deleting query created from gds (#6563)
This commit is contained in:
parent
ec3fa5cde2
commit
b9210509ec
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ class QueryManagerComponent extends React.Component {
|
|||
|
||||
// Clear the focus field value from options
|
||||
cleanFocusedFields = (newOptions) => {
|
||||
const diffFields = diff(newOptions, this.defaultOptions.current);
|
||||
const diffFields = diff(newOptions, this.defaultOptions.current ?? {});
|
||||
const updatedOptions = { ...newOptions };
|
||||
Object.keys(diffFields).forEach((key) => {
|
||||
if (newOptions[key] === '' && this.defaultOptions.current[key] === undefined) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue