Skip to content

Commit

Permalink
HLM-2651: Added facility dropdown list for projectid mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
anilsingha-eGov committed Oct 12, 2023
1 parent 0dc9f67 commit a70377c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ class _StockDetailsPageState extends LocalizedState<StockDetailsPage> {
BlocBuilder<FacilityBloc, FacilityState>(
builder: (context, state) {
final facilities = state.whenOrNull(
fetched: (_, facilities) => facilities,
fetched: (facilities, _) => facilities,
) ??
[];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class _WarehouseDetailsPageState extends LocalizedState<WarehouseDetailsPage> {
},
builder: (ctx, facilityState) {
final facilities = facilityState.whenOrNull(
fetched: (_, facilities) => facilities,
fetched: (facilities, _) => facilities,
) ??
[];

Expand Down

0 comments on commit a70377c

Please sign in to comment.