Skip to content

Commit f1c79b0

Browse files
committed
fix(arc-lib): fixing issues
fixing issues GH-58
1 parent 94f7e60 commit f1c79b0

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

projects/arc-lib/src/lib/components/gantt/components/gantt-header/gantt-header.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import {Component, Input, OnInit} from '@angular/core';
2-
1+
import {Component, Input} from '@angular/core';
32
@Component({
43
selector: 'arc-gantt-header',
54
templateUrl: './gantt-header.component.html',

projects/arc-lib/src/lib/components/gantt/components/gantt-tooltip/gantt-tooltip.component.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Component, Input} from '@angular/core';
2-
import {Item} from '@main-project/boiler/model/item.model';
32
import {TranslateService} from '@ngx-translate/core';
3+
import {Item} from '../../model/item.model';
44

55
@Component({
66
selector: 'arc-gantt-tooltip',
@@ -9,10 +9,7 @@ import {TranslateService} from '@ngx-translate/core';
99
})
1010
export class GanttTooltipComponent {
1111
@Input()
12-
// item: Item;
13-
set item(values) {
14-
console.log(values);
15-
}
12+
item: Item;
1613

1714
@Input()
1815
allocationMap = new Map<string, boolean>([]);

projects/arc-lib/src/lib/components/gantt/model/item.model.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ export interface empData {
2626
overallocated: boolean;
2727
}
2828

29-
// export interface Suballocation {
30-
// width: string;
31-
// hours: number;
32-
// rate: number;
33-
// overallocated: boolean;
34-
// overallocatedHours: number;
35-
// }
36-
3729
export interface AllocationBar {
3830
percent: number;
3931
allocation: number;

0 commit comments

Comments
 (0)