File tree Expand file tree Collapse file tree
frontend/src/pages/GanttPage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,6 @@ const GanttChartPage: FC = () => {
185185 setAddedWorkPackages ( ( prev ) => prev . filter ( ( workPackage ) => ! workPackages . includes ( workPackage ) ) ) ;
186186 } ;
187187
188-
189188 const allWorkPackages = projects . flatMap ( ( project ) => project . workPackages ) . concat ( addedWorkPackages ) ;
190189 const allProjects = projects . concat ( addedProjects ) ;
191190 const allWbsElements : WbsElement [ ] = [ ...allProjects ] ;
Original file line number Diff line number Diff line change @@ -50,7 +50,10 @@ export interface Project extends WbsElement {
5050 favoritedBy : UserPreview [ ] ;
5151}
5252
53- export type ProjectPreview = Pick < Project , 'id' | 'name' | 'wbsNum' | 'status' | 'workPackages' | 'lead' | 'manager' | 'deleted' > ;
53+ export type ProjectPreview = Pick <
54+ Project ,
55+ 'id' | 'name' | 'wbsNum' | 'status' | 'workPackages' | 'lead' | 'manager' | 'deleted'
56+ > ;
5457
5558export interface WorkPackage extends WbsElement {
5659 orderInProject : number ;
You can’t perform that action at this time.
0 commit comments