Skip to content

Commit

Permalink
Fix pending flow location label bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Onitoxan committed Aug 6, 2024
1 parent 93b24a9 commit 29ac74e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export interface PendingFlowsFilterValues {
dataProvider?: FormObjectValue | null;
reporterRefCode?: string;
sourceOrganizations?: Array<FormObjectValue>;
sourceCountries?: Array<FormObjectValue>;
sourceLocations?: Array<FormObjectValue>;
destinationOrganizations?: Array<FormObjectValue>;
destinationCountries?: Array<FormObjectValue>;
destinationLocations?: Array<FormObjectValue>;
destinationUsageYears?: Array<FormObjectValue>;
includeChildrenOfParkedFlows?: boolean;
}
Expand All @@ -35,9 +35,9 @@ export const PENDING_FLOWS_FILTER_INITIAL_VALUES: PendingFlowsFilterValues = {
dataProvider: null,
reporterRefCode: '',
sourceOrganizations: [],
sourceCountries: [],
sourceLocations: [],
destinationOrganizations: [],
destinationCountries: [],
destinationLocations: [],
destinationUsageYears: [],
includeChildrenOfParkedFlows: false,
};
Expand Down Expand Up @@ -176,7 +176,7 @@ export const FilterPendingFlowsTable = (props: Props) => {
lang,
(s) => s.components.pendingFlowsFilter.filters.sourceLocations
)}
name="sourceCountries"
name="sourceLocations"
fnPromise={(query) => fnLocations(query, environment)}
isMulti
/>
Expand Down Expand Up @@ -205,7 +205,7 @@ export const FilterPendingFlowsTable = (props: Props) => {
(s) =>
s.components.pendingFlowsFilter.filters.destinationLocations
)}
name="destinationCountries"
name="destinationLocations"
fnPromise={(query) => fnLocations(query, environment)}
isMulti
/>
Expand Down

0 comments on commit 29ac74e

Please sign in to comment.