Skip to content

Commit

Permalink
Update src/Components/Assets/AssetsList.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Rithvik Nishad <[email protected]>
  • Loading branch information
Pranshu1902 and rithviknishad authored Oct 19, 2023
1 parent 81a894e commit 5ff8fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Assets/AssetsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const AssetsList = () => {
facility_external_id: String(qParams.facility),
external_id: String(qParams.location),
},
prefetch: qParams.facility || qParams.location,
prefetch: !!(qParams.facility && qParams.location),
});

useEffect(() => {
Expand Down

0 comments on commit 5ff8fb5

Please sign in to comment.