Skip to content

Commit

Permalink
fix: update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiao Peng authored and Xiao Peng committed Nov 14, 2024
1 parent 60a7724 commit 91b2ea6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ const OwnershipStep = ({ isReview }: OwnershipStepProps) => {
const getFcQuery = (clientNumber: string): ForestClientType | undefined => qc.getQueryData(['forest-clients', clientNumber]);

const originalSeedQty = getSeedlotBySeedlotNumberQuery.data?.data?.originalSeedQty ?? 0;
const readOnly = originalSeedQty > 0;

return (
<div>
Expand Down Expand Up @@ -220,7 +219,7 @@ const OwnershipStep = ({ isReview }: OwnershipStepProps) => {
checkPortionSum={
(updtEntry: SingleOwnerForm, id: number) => checkPortionSum(updtEntry, id)
}
readOnly={isFormSubmitted || readOnly}
readOnly={isFormSubmitted || originalSeedQty > 0}
isReview={isReview}
/>
</AccordionItem>
Expand Down
2 changes: 0 additions & 2 deletions oracle-api/config/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ spring:
url: jdbc:oracle:thin:@tcp://localhost:1521/dbdock_01
username: THE
password: default


0 comments on commit 91b2ea6

Please sign in to comment.