Skip to content

Commit 5731362

Browse files
committed
Fix Gantt Not Showing up on individual project page
1 parent 57e37a0 commit 5731362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/ProjectGantt.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface ProjectGanttProps {
2222
}
2323

2424
const ProjectGantt: React.FC<ProjectGanttProps> = ({ workPackages }) => {
25-
const rows = workPackages.map((wp) => [wp.id, wp.name, wp.startDate, wp.endDate, wp.duration, null]);
25+
const rows = workPackages.map((wp) => [wp.id, wp.name, wp.startDate, wp.endDate, wp.duration, 100, null]);
2626
const data = [ganttAllColumns, ...rows];
2727
const options = {
2828
height: 30 * rows.length + 50,

0 commit comments

Comments
 (0)