Clean report state

This commit is contained in:
Jiang Yio 2023-05-16 20:28:56 -04:00
parent 7d45820c39
commit adb05216fd

View File

@ -164,7 +164,7 @@
const SZ_WINDOW = 100; const SZ_WINDOW = 100;
const SZ_RANGE = 40000; const SZ_RANGE = 40000;
const reports = [ const create_reports = () => [
{ {
name: 'Notes', name: 'Notes',
rpt_id: 'OR_PN:PROGRESS NOTES~TIUPRG;ORDV04;15;', rpt_id: 'OR_PN:PROGRESS NOTES~TIUPRG;ORDV04;15;',
@ -286,7 +286,7 @@
query: '', query: '',
x_query: '', x_query: '',
unify: false, unify: false,
reports, reports: create_reports(),
resultsets: {}, resultsets: {},
selection: null selection: null
}; };