-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add different fields for people in household data update
- Loading branch information
Maciej Szewczyk
committed
Nov 14, 2024
1 parent
747b8ba
commit cefbada
Showing
13 changed files
with
180 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
src/frontend/src/apollo/queries/core/attributes/AllEditPeopleFieldsAttributes.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export const AllEditPeopleFieldsAttributes = gql` | ||
query AllEditPeopleFields { | ||
allEditPeopleFieldsAttributes { | ||
id | ||
type | ||
name | ||
required | ||
labels { | ||
language | ||
label | ||
} | ||
labelEn | ||
hint | ||
choices { | ||
labels { | ||
label | ||
language | ||
} | ||
labelEn | ||
value | ||
admin | ||
listName | ||
} | ||
isFlexField | ||
} | ||
} | ||
`; |
9 changes: 7 additions & 2 deletions
9
src/frontend/src/components/grievances/EditHouseholdDataChange/CurrentValue.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.