Skip to content

Commit

Permalink
prevent loading behavior for adding pieces
Browse files Browse the repository at this point in the history
  • Loading branch information
alisher-epam committed Sep 25, 2024
1 parent c27d2db commit 70d193b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Piece/PieceForm/PieceForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ const PieceForm = ({
poLine={poLine}
locationIds={locationIds}
locations={locations}
isLocationsLoading={isEditMode && isFetching}
isLocationsLoading={isEditMode && !locationId && isFetching}
setLocationValue={mutators.setLocationValue}
onChangeDisplayOnHolding={onChangeDisplayOnHolding}
/>
Expand Down

0 comments on commit 70d193b

Please sign in to comment.