Fix text getting changed after browsing through Reporting tab (#5510)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/5513/head^2
Hariom Balhara 2022-11-14 16:23:35 +05:30 committed by GitHub
parent f513ce8687
commit ad7af451ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ export function getQueryBuilderConfig(form: RoutingForm, forReporting = false) {
} }
}); });
const initialConfigCopy = { ...InitialConfig }; const initialConfigCopy = { ...InitialConfig, operators: { ...InitialConfig.operators } };
if (forReporting) { if (forReporting) {
delete initialConfigCopy.operators.is_empty; delete initialConfigCopy.operators.is_empty;
delete initialConfigCopy.operators.is_not_empty; delete initialConfigCopy.operators.is_not_empty;