diff --git a/src/leaseStatisticReport/requests.ts b/src/leaseStatisticReport/requests.ts index de73f1fc5..7acfe8028 100644 --- a/src/leaseStatisticReport/requests.ts +++ b/src/leaseStatisticReport/requests.ts @@ -23,10 +23,11 @@ export const fetchReportData = (payload: Record): Generator): Generator => { - return callApi(new Request(`${payload.url}?${payload.query}`)); + const parsedQuery = parseServiceUnitQuery(payload.query) || ''; + return callApi(new Request(`${payload.url}?${parsedQuery}`)); }; export const fetchOptions = (payload: any): Generator => { return callApi(new Request(payload, { method: 'OPTIONS' })); -}; \ No newline at end of file +}; diff --git a/src/leases/components/leaseSections/constructability/SendEmailModal.tsx b/src/leases/components/leaseSections/constructability/SendEmailModal.tsx index 30f9935b4..fd540b2f6 100644 --- a/src/leases/components/leaseSections/constructability/SendEmailModal.tsx +++ b/src/leases/components/leaseSections/constructability/SendEmailModal.tsx @@ -127,7 +127,12 @@ class SendEmailModal extends PureComponent { } = this.state; return Valitse sähköpostin vastaanottajat - this.dualListBox = ref} canFilter filter={filter} filterPlaceholder='Hae vastaanottajia...' onChange={this.handleUserListChange} onFilterChange={this.handleFilterChange} options={userOptions} selected={selectedUsers} simpleValue={false} /> + ', + moveAllRight: '>>' + }} availableRef={ref => this.dualListBox = ref} canFilter filter={filter} filterPlaceholder='Hae vastaanottajia...' onChange={this.handleUserListChange} onFilterChange={this.handleFilterChange} options={userOptions} selected={selectedUsers} simpleValue={false} />