Skip to content

Commit

Permalink
Asset filter parameters reset on unselect (ohcnetwork#6255)
Browse files Browse the repository at this point in the history
  • Loading branch information
print-Sathvik authored Sep 11, 2023
1 parent 3d73c69 commit baecaab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Components/Assets/AssetFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ function AssetFilter(props: any) {
const applyFilter = () => {
const data = {
facility: facilityId,
asset_type: asset_type,
asset_class: asset_class,
status: asset_status,
asset_type: asset_type ?? "",
asset_class: asset_class ?? "",
status: asset_status ?? "",
location: locationId,
};
onChange(data);
Expand Down

0 comments on commit baecaab

Please sign in to comment.