diff --git a/frontend/src/app/ntt-gantt/ntt-gantt.component.ts b/frontend/src/app/ntt-gantt/ntt-gantt.component.ts
index 5f36296..2b68163 100644
--- a/frontend/src/app/ntt-gantt/ntt-gantt.component.ts
+++ b/frontend/src/app/ntt-gantt/ntt-gantt.component.ts
@@ -202,7 +202,7 @@ export class NttGanttComponent implements OnInit {
this.tooltipSettings = {showTooltip: true}
this.projectStartDate = this.range.controls.start.value;
this.projectEndDate = this.range.controls.end.value;
- this.splitterSettings = {position: 647 + 'px'};
+ this.splitterSettings = {position: 30 + '%'};
this.inputForTimeline = [this.splitterSettings, this.projectStartDate, this.projectEndDate];
}
@@ -305,7 +305,7 @@ export class NttGanttComponent implements OnInit {
openFilterDialog(){
let dialogRef = FilterDialogComponent;
this.matDialog.open(dialogRef,
- {data : [], width: '50%'}).afterClosed().subscribe((res)=>{
+ {data : [], width: '50%', maxWidth: '800px'}).afterClosed().subscribe((res)=>{
if(res){
this.filters = res;
this.filterEnabled = true;
@@ -629,12 +629,12 @@ export class NttGanttComponent implements OnInit {
}
/**
- * The function onResizing catches the corresponding syncfsuions event and stores the actual splitter postition to synchronize the splitters of the main gannt chart and the planTimeBart gantt chart.
+ * The function splitterResizing catches the corresponding syncfsuions event and stores the actual splitter postition to synchronize the splitters of the main gannt chart and the planTimeBart gantt chart.
* @param args event arguments from the syncfusion gantt chart.
*/
- public onResizing(args){
- let width = '' + args.paneSize[0]+'px';
- this.splitterSettings = {position: width};
+ public splitterResizing(args) {
+
+ this.splitterSettings = {position: args.paneSize[0].toString() + 'px'};
}
/**
diff --git a/frontend/src/app/plan-time-bar/plan-time-bar.component.html b/frontend/src/app/plan-time-bar/plan-time-bar.component.html
index 9df5b9b..e488f13 100644
--- a/frontend/src/app/plan-time-bar/plan-time-bar.component.html
+++ b/frontend/src/app/plan-time-bar/plan-time-bar.component.html
@@ -28,6 +28,7 @@
[allowSorting]= "false"
[allowFiltering]="false"
+
(queryTaskbarInfo)="queryTaskbarInfo($event)"
gridLines="Both">
diff --git a/frontend/src/app/plan-time-bar/plan-time-bar.component.ts b/frontend/src/app/plan-time-bar/plan-time-bar.component.ts
index e11fa99..a032b88 100644
--- a/frontend/src/app/plan-time-bar/plan-time-bar.component.ts
+++ b/frontend/src/app/plan-time-bar/plan-time-bar.component.ts
@@ -164,5 +164,6 @@ export class PlanTimeBarComponent implements OnInit {
}
this.fetchPlanTimes();
}
+
}
diff --git a/frontend/src/index.html b/frontend/src/index.html
index 4f6f298..7771631 100644
--- a/frontend/src/index.html
+++ b/frontend/src/index.html
@@ -11,3 +11,13 @@