Skip to content

Commit 1eef470

Browse files
committed
Linting
1 parent 391fa0a commit 1eef470

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

src/app/component/dependency-graph/dependency-graph.component.ts

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ export class DependencyGraphComponent implements OnInit, OnChanges {
6666
this.simulation.stop();
6767
}
6868
this.visited.clear();
69-
let activity: Activity | undefined = this.dataStore?.activityStore?.getActivityByName(activityName);
69+
let activity: Activity | undefined =
70+
this.dataStore?.activityStore?.getActivityByName(activityName);
7071
if (activity) {
7172
this.graphData = { nodes: [], links: [] };
7273
this.populateGraphWithActivitiesCurrentActivityDependsOn(activity);
@@ -87,7 +88,11 @@ export class DependencyGraphComponent implements OnInit, OnChanges {
8788
target: activity.name,
8889
});
8990
}
90-
this.graphData['nodes'].filter(node => node.relativeLevel == -1).forEach(node => { node.activitycount = i - 1 });
91+
this.graphData['nodes']
92+
.filter(node => node.relativeLevel == -1)
93+
.forEach(node => {
94+
node.activitycount = i - 1;
95+
});
9196
}
9297
}
9398

@@ -103,9 +108,11 @@ export class DependencyGraphComponent implements OnInit, OnChanges {
103108
});
104109
}
105110
}
106-
this.graphData['nodes'].filter(node => node.relativeLevel == 1).forEach(node => {
107-
node.activitycount = i -1;
108-
});
111+
this.graphData['nodes']
112+
.filter(node => node.relativeLevel == 1)
113+
.forEach(node => {
114+
node.activitycount = i - 1;
115+
});
109116
}
110117

111118
addNode(activityName: string, relativeLevel: number = 0, index: number = 0): void {

src/app/pages/circular-heatmap/circular-heatmap.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ <h2>Nothing to show</h2>
100100
</ng-template>
101101
</mat-expansion-panel>
102102

103-
<mat-expansion-panel [expanded]="true" >
103+
<mat-expansion-panel [expanded]="true">
104104
<mat-expansion-panel-header>
105105
<mat-panel-title>
106106
<b>Dependencies</b>
@@ -110,7 +110,6 @@ <h2>Nothing to show</h2>
110110
</app-dependency-graph>
111111
</mat-expansion-panel>
112112

113-
114113
<mat-expansion-panel [expanded]="true" *ngIf="showActivityDetails?.dependsOn">
115114
<mat-expansion-panel-header>
116115
<mat-panel-title>

0 commit comments

Comments
 (0)