Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
My SU
frontend
Commits
c6219c4e
Commit
c6219c4e
authored
Jan 06, 2021
by
TJHeeringa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly referenced fields on Association
parent
1aa6a1c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/App/Components/Fields/FontAwesomeIconHolder.js
src/App/Components/Fields/FontAwesomeIconHolder.js
+1
-1
src/App/Components/Forms/AssociationForm.js
src/App/Components/Forms/AssociationForm.js
+5
-5
No files found.
src/App/Components/Fields/FontAwesomeIconHolder.js
View file @
c6219c4e
...
...
@@ -16,7 +16,7 @@ const FontAwesomeIconHolder = ({ icon, ...rest_props }) => {
const
classes
=
useStyles
(
theme
);
return
(
<
FontAwesomeIcon
className
=
{
"
MuiSvgIcon-root makeStyles-icon-22 MuiSvgIcon-colorAction
"
}
icon
=
{
icon
}
/
>
<
FontAwesomeIcon
className
=
{
[
"
MuiSvgIcon-root MuiSvgIcon-colorAction
"
,
classes
.
icon
].
join
(
"
"
)
}
icon
=
{
icon
}
/
>
);
};
...
...
src/App/Components/Forms/AssociationForm.js
View file @
c6219c4e
...
...
@@ -134,7 +134,7 @@ export const AssociationForm = (props) => {
<
IconHolder
Icon
=
{
WhatsAppIcon
}
/
>
<
TextField
name
=
{
"
whatsapp
"
}
value
=
{
association
.
phone_number
}
value
=
{
association
.
whatsapp
}
onChange
=
{(
event
)
=>
handleAssociationChange
(
"
whatsapp
"
,
event
.
target
.
value
)}
/
>
<
/Wrapper
>
...
...
@@ -142,7 +142,7 @@ export const AssociationForm = (props) => {
<
FontAwesomeIconHolder
icon
=
{[
"
fab
"
,
"
discord
"
]}
/
>
<
TextField
name
=
{
"
discord
"
}
value
=
{
association
.
phone_number
}
value
=
{
association
.
discord
}
onChange
=
{(
event
)
=>
handleAssociationChange
(
"
discord
"
,
event
.
target
.
value
)}
/
>
<
/Wrapper
>
...
...
@@ -177,7 +177,7 @@ export const AssociationForm = (props) => {
<
TextField
name
=
{
"
zip_code
"
}
value
=
{
association
.
postal_zipcode
}
onChange
=
{(
event
)
=>
handleAssociationChange
(
"
zip_
code
"
,
event
.
target
.
value
)}
onChange
=
{(
event
)
=>
handleAssociationChange
(
"
postal_zip
code
"
,
event
.
target
.
value
)}
/
>
<
/Wrapper
>
<
Wrapper
>
...
...
@@ -185,7 +185,7 @@ export const AssociationForm = (props) => {
<
TextField
name
=
{
"
city
"
}
value
=
{
association
.
postal_city
}
onChange
=
{(
event
)
=>
handleAssociationChange
(
"
city
"
,
event
.
target
.
value
)}
onChange
=
{(
event
)
=>
handleAssociationChange
(
"
postal_
city
"
,
event
.
target
.
value
)}
/
>
<
/Wrapper
>
<
Wrapper
>
...
...
@@ -193,7 +193,7 @@ export const AssociationForm = (props) => {
<
TextField
name
=
{
"
address
"
}
value
=
{
association
.
postal_address
}
onChange
=
{(
event
)
=>
handleAssociationChange
(
"
address
"
,
event
.
target
.
value
)}
onChange
=
{(
event
)
=>
handleAssociationChange
(
"
postal_
address
"
,
event
.
target
.
value
)}
/
>
<
/Wrapper
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment