Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add back project fields hfla website url and github identifier #1488

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading