File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
src/app/component/activity-description Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 8282 < mat-expansion-panel >
8383 < mat-expansion-panel-header >
8484 < mat-panel-title >
85- < b > Evidence</ b >
85+ < b > Teams Evidence</ b >
8686 </ mat-panel-title >
8787 </ mat-expansion-panel-header >
88- < p id ="evidence " [innerHTML] ="currentActivity.evidence "> </ p >
88+ < mat-accordion multi ="true ">
89+ < mat-expansion-panel
90+ *ngFor ="let item of this.currentActivity.teamsEvidence | keyvalue ">
91+ < mat-expansion-panel-header >
92+ < mat-panel-title >
93+ < b [innerHTML] ="item.key "> </ b >
94+ </ mat-panel-title >
95+ </ mat-expansion-panel-header >
96+ < p [innerHTML] ="item.value "> </ p >
97+ </ mat-expansion-panel >
98+ </ mat-accordion >
8999 </ mat-expansion-panel >
90100
91101 < mat-expansion-panel >
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export interface activityDescription {
3232 implementation : implementation [ ] ;
3333 usefulness : number ;
3434 evidence : string ;
35+ teamsEvidence : Object ;
3536 assessment : string ;
3637 comments : string ;
3738 isImplemented : boolean ;
@@ -67,6 +68,7 @@ export class ActivityDescriptionComponent implements OnInit {
6768 usefulness : - 1 ,
6869 assessment : '' ,
6970 evidence : '' ,
71+ teamsEvidence : { } ,
7072 comments : '' ,
7173 isImplemented : false ,
7274 teamsImplemented : { } ,
@@ -261,6 +263,8 @@ export class ActivityDescriptionComponent implements OnInit {
261263 false
262264 ) ;
263265 this . currentActivity . teamsImplemented = data [ 'teamsImplemented' ] ;
266+ this . currentActivity . teamsEvidence = data [ 'teamsEvidence' ] ;
267+ console . log ( "data['teamsEvidence']" , data [ 'teamsEvidence' ] ) ;
264268 this . openall ( ) ;
265269 } ) ;
266270 }
You can’t perform that action at this time.
0 commit comments