ENCOA-127: Change the name of the field Position to Department

This commit is contained in:
Tiago Ribeiro
2024-08-29 12:47:05 +01:00
parent c256231cfc
commit 73525f1dc0
4 changed files with 4 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ export default function DemographicInformationInput({user, mutateUser}: Props) {
<GenderInput value={gender} onChange={setGender} />
{user.type === "corporate" && (
<Input name="position" onChange={setPosition} type="text" label="Position" placeholder="CEO, Head of Marketing..." required />
<Input name="position" onChange={setPosition} type="text" label="Department" placeholder="CEO, Head of Marketing..." required />
)}
{user.type !== "corporate" && <EmploymentStatusInput value={employment} onChange={setEmployment} />}
</form>

View File

@@ -517,7 +517,7 @@ const UserCard = ({
name="position"
onChange={setPosition}
type="text"
label="Position"
label="Department"
defaultValue={position}
placeholder="CEO, Head of Marketing..."
disabled