File tree Expand file tree Collapse file tree 3 files changed +3
-15
lines changed
projects/arc-lib/src/lib/components/gantt Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 1
- import { Component , Input , OnInit } from '@angular/core' ;
2
-
1
+ import { Component , Input } from '@angular/core' ;
3
2
@Component ( {
4
3
selector : 'arc-gantt-header' ,
5
4
templateUrl : './gantt-header.component.html' ,
Original file line number Diff line number Diff line change 1
1
import { Component , Input } from '@angular/core' ;
2
- import { Item } from '@main-project/boiler/model/item.model' ;
3
2
import { TranslateService } from '@ngx-translate/core' ;
3
+ import { Item } from '../../model/item.model' ;
4
4
5
5
@Component ( {
6
6
selector : 'arc-gantt-tooltip' ,
@@ -9,10 +9,7 @@ import {TranslateService} from '@ngx-translate/core';
9
9
} )
10
10
export class GanttTooltipComponent {
11
11
@Input ( )
12
- // item: Item;
13
- set item ( values ) {
14
- console . log ( values ) ;
15
- }
12
+ item : Item ;
16
13
17
14
@Input ( )
18
15
allocationMap = new Map < string , boolean > ( [ ] ) ;
Original file line number Diff line number Diff line change @@ -26,14 +26,6 @@ export interface empData {
26
26
overallocated : boolean ;
27
27
}
28
28
29
- // export interface Suballocation {
30
- // width: string;
31
- // hours: number;
32
- // rate: number;
33
- // overallocated: boolean;
34
- // overallocatedHours: number;
35
- // }
36
-
37
29
export interface AllocationBar {
38
30
percent : number ;
39
31
allocation : number ;
You can’t perform that action at this time.
0 commit comments