Skip to content

Commit

Permalink
Merge pull request #5345 from bcgov/dev-rook-RQ-FOIMOD-2975-bugfix
Browse files Browse the repository at this point in the history
Fix observations in FOIMOD-3300
  • Loading branch information
richard-aot authored Jul 29, 2024
2 parents 47ea143 + 1057331 commit 294d8bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ const FileUploadForMCFPersonal = ({
sx={{width: "fit-content", marginRight: "8px", marginBottom: "8px"}}
color="primary"
size="small"
onClick={()=>{handlePersonalTagChange(tag);if(isScanningTeamMember){handleTagChange(tag.divisionid)}}}
onClick={()=>{handlePersonalTagChange(tag);}}
clicked={personalTag?.name === tag.name}
disabled={!isPersonSelected || trackingID===""}
/>
Expand Down Expand Up @@ -662,7 +662,7 @@ const FileUploadForMCFPersonal = ({
sx={{width: "fit-content", marginRight: "8px", marginBottom: "8px"}}
color="primary"
size="small"
onClick={()=>{handlePersonalTagChange(tag);if(isScanningTeamMember){handleTagChange(tag.divisionid)}}}
onClick={()=>{handlePersonalTagChange(tag)}}
clicked={personalTag?.name === tag.name}
/>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ const MCFPersonal = ({
sx={{width: "fit-content", marginRight: "8px", marginBottom: "8px"}}
color="primary"
size="small"
onClick={()=>{handlePersonalAttributesChange(tag, "personaltag");setNewDivision(tag.divisionid);}}
onClick={()=>{handlePersonalAttributesChange(tag, "personaltag")}}
clicked={personalAttributes?.personaltag === tag.name}
/>
)}
Expand Down Expand Up @@ -567,7 +567,7 @@ const MCFPersonal = ({
sx={{width: "fit-content", marginRight: "8px", marginBottom: "8px"}}
color="primary"
size="small"
onClick={()=>{handlePersonalAttributesChange(tag, "personaltag");setNewDivision(tag.divisionid);}}
onClick={()=>{handlePersonalAttributesChange(tag, "personaltag")}}
clicked={personalAttributes?.personaltag === tag.name}
/>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def createfoiministryrequestfromobject(self, ministryschema, requestschema, user
foiministryrequest.cfrduedate = requestdict['cfrduedate']
foiministryrequest.startdate = requestdict['startdate']
foiministryrequest.duedate = requestdict['duedate']
foiministryrequest.userrecordslockstatus = requestschema['userrecordslockstatus']
foiministryrequest.userrecordslockstatus = ministryschema['userrecordslockstatus']
foiministryrequest.assignedministrygroup = requestdict['assignedministrygroup']
if 'assignedministryperson' in requestschema and requestschema['assignedministryperson'] not in (None,''):
foiministryrequest.assignedministryperson = requestschema['assignedministryperson']
Expand Down

0 comments on commit 294d8bc

Please sign in to comment.