Skip to content

Commit

Permalink
Merge pull request #327 from 0x41head/activity-level--on-excel
Browse files Browse the repository at this point in the history
added activity level in excel
  • Loading branch information
wurstbrot authored Sep 23, 2024
2 parents d7958f9 + cdd7d69 commit 469524c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/component/mapping/mapping.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
<th>Dimension</th>
<th>Sub Dimension</th>
<th>Activity</th>
<th>Level</th>
<th>Description</th>
<th>Risk</th>
<th>Measure</th>
Expand Down Expand Up @@ -193,6 +194,11 @@
{{ item.activityName | slice : 0 : 32767 }}
</ng-container>
</td>
<td>
<ng-container *ngIf="item.level">
{{ '' + item.level | slice : 0 : 32767 }}
</ng-container>
</td>
<td>
<ng-container *ngIf="item.description && item.description.length > 0">
{{ item.description | slice : 0 : 32767 }}
Expand Down
4 changes: 4 additions & 0 deletions src/app/component/mapping/mapping.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export interface MappingElementSortedByISO17 {
dependsOn: string[];
comments: string;
assessment: string;
level: number;
implementation: any;
teamImplementation: {
[key: string]: boolean;
Expand Down Expand Up @@ -345,6 +346,8 @@ export class MappingComponent implements OnInit {
var CurrentTeamsEvidence =
this.YamlObject[dim][subDim][activity]['teamsEvidence'];

var CurrentActivityLevel = this.YamlObject[dim][subDim][activity]['level'];

this.temporaryMappingElement = {
dimension: dim,
subDimension: subDim,
Expand All @@ -360,6 +363,7 @@ export class MappingComponent implements OnInit {
resources: CurrentResources,
usefulness: CurrentUsefulness,
dependsOn: CurrentDependsOn,
level: CurrentActivityLevel,
implementation: CurrentImplementation,
comments: CurrentComments,
assessment: CurrentAssessment,
Expand Down

0 comments on commit 469524c

Please sign in to comment.