Skip to content

Commit

Permalink
Added teamsEvidence
Browse files Browse the repository at this point in the history
  • Loading branch information
0x41head committed Aug 16, 2024
1 parent 543dc5b commit 3e96fac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,20 @@ <h1>
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>
<b>Evidence</b>
<b>Teams Evidence</b>
</mat-panel-title>
</mat-expansion-panel-header>
<p id="evidence" [innerHTML]="currentActivity.evidence"></p>
<mat-accordion multi="true">
<mat-expansion-panel
*ngFor="let item of this.currentActivity.teamsEvidence | keyvalue">
<mat-expansion-panel-header>
<mat-panel-title>
<b [innerHTML]="item.key"></b>
</mat-panel-title>
</mat-expansion-panel-header>
<p [innerHTML]="item.value"></p>
</mat-expansion-panel>
</mat-accordion>
</mat-expansion-panel>

<mat-expansion-panel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface activityDescription {
implementation: implementation[];
usefulness: number;
evidence: string;
teamsEvidence: Object;
assessment: string;
comments: string;
isImplemented: boolean;
Expand Down Expand Up @@ -67,6 +68,7 @@ export class ActivityDescriptionComponent implements OnInit {
usefulness: -1,
assessment: '',
evidence: '',
teamsEvidence: {},
comments: '',
isImplemented: false,
teamsImplemented: {},
Expand Down Expand Up @@ -261,6 +263,8 @@ export class ActivityDescriptionComponent implements OnInit {
false
);
this.currentActivity.teamsImplemented = data['teamsImplemented'];
this.currentActivity.teamsEvidence = data['teamsEvidence'];
console.log("data['teamsEvidence']", data['teamsEvidence']);
this.openall();
});
}
Expand Down

0 comments on commit 3e96fac

Please sign in to comment.