Skip to content

Commit

Permalink
Updated My Project grid headings and cell formats
Browse files Browse the repository at this point in the history
  • Loading branch information
entrotech committed Nov 29, 2023
1 parent 4dca5e0 commit 6557a8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions client/src/components/ProjectWizard/WizardFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ const WizardFooter = ({
}) => {
const classes = useStyles();
const componentRef = useRef();
const projectName = rules
? rules.find(r => r.code === "PROJECT_NAME").value
const projectNameRule = rules && rules.find(r => r.code === "PROJECT_NAME");
const projectName = projectNameRule
? projectNameRule.value
: "TDM Calculation Summary";

return (
Expand Down
3 changes: 0 additions & 3 deletions client/src/components/Projects/ProjectTableRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ const ProjectTableRow = ({
</td>
<td className={classes.td}>{project.address}</td>
<td className={classes.td}>{fallbackToBlank(formInputs.VERSION_NO)}</td>
<td className={classes.td}>
{fallbackToBlank(formInputs.BUILDING_PERMIT)}
</td>
<td
className={classes.td}
>{`${project.firstName} ${project.lastName}`}</td>
Expand Down
1 change: 0 additions & 1 deletion client/src/components/Projects/ProjectsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ const ProjectsPage = ({ account, contentContainerRef }) => {
{ id: "name", label: "Name" },
{ id: "address", label: "Address" },
{ id: "VERSION_NO", label: "Alternative Number" },
{ id: "BUILDING_PERMIT", label: "Building Permit" },
{ id: "firstName", label: "Created By" },
{ id: "dateCreated", label: "Created On" },
{ id: "dateModified", label: "Last Modified" },
Expand Down

0 comments on commit 6557a8a

Please sign in to comment.