Skip to content

Commit

Permalink
Merge pull request #1488 from jbubar/fix-adding-back-project-fields
Browse files Browse the repository at this point in the history
  • Loading branch information
trillium authored Aug 29, 2023
2 parents 7a2b088 + 56816ea commit a2fffb2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 28 deletions.
26 changes: 12 additions & 14 deletions client/src/components/manageProjects/addProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ function addProject() {
addressValue: '',
addressError: 'Invalid address',
},
// Leaving incase we want to add this back in for updating projects
// {
// label: 'GitHub Identifier',
// name: 'githubIdentifier',
// type: 'text',
// placeholder: 'Enter GitHub identifier',
// },
{
label: 'GitHub Identifier',
name: 'githubIdentifier',
type: 'text',
placeholder: 'Enter GitHub identifier',
},
{
label: 'GitHub URL',
name: 'githubUrl',
Expand All @@ -51,13 +50,12 @@ function addProject() {
type: 'text',
placeholder: 'htttps://drive.google.com/',
},
// Leaving incase we want to add this back in for updating projects
// {
// label: 'HFLA Website URL',
// name: 'hflaWebsiteUrl',
// type: 'text',
// placeholder: 'htttps://hackforla.org/projects/',
// },
{
label: 'HFLA Website URL',
name: 'hflaWebsiteUrl',
type: 'text',
placeholder: 'htttps://hackforla.org/projects/',
},
];

return (
Expand Down
26 changes: 12 additions & 14 deletions client/src/components/manageProjects/editProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,12 @@ const EditProject = ({
addressValue: '',
addressError: 'Invalid address',
},
// Leaving incase we want to add this back in for updating projects
// {
// label: 'GitHub Identifier',
// name: 'githubIdentifier',
// type: 'text',
// placeholder: 'Enter GitHub identifier',
// },
{
label: 'GitHub Identifier',
name: 'githubIdentifier',
type: 'text',
placeholder: 'Enter GitHub identifier',
},
{
label: 'GitHub URL',
name: 'githubUrl',
Expand All @@ -102,13 +101,12 @@ const EditProject = ({
type: 'text',
value: projectToEdit.googleDriveUrl,
},
// Leaving incase we want to add this back in for updating projects
// {
// label: 'HFLA Website URL',
// name: 'hflaWebsiteUrl',
// type: 'text',
// value: projectToEdit.hflaWebsiteUrl,
// },
{
label: 'HFLA Website URL',
name: 'hflaWebsiteUrl',
type: 'text',
value: projectToEdit.hflaWebsiteUrl,
},
];

// Get project recurring events when component loads
Expand Down

0 comments on commit a2fffb2

Please sign in to comment.