Skip to content

Commit

Permalink
Markdown added
Browse files Browse the repository at this point in the history
  • Loading branch information
0x41head committed Aug 19, 2024
1 parent 3e28e1f commit 2e49d65
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ testem.log
# System Files
.DS_Store
Thumbs.db

/src/assets/YAML/generated/generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,10 @@ export class ActivityDescriptionComponent implements OnInit {
false
);
this.currentActivity.teamsImplemented = data['teamsImplemented'];
this.currentActivity.teamsEvidence = data['teamsEvidence'];
console.log("data['teamsEvidence']", data['teamsEvidence']);
this.currentActivity.teamsEvidence = this.defineEvidenceObject(
data['teamsEvidence']
);
// console.log("data['teamsEvidence']", data['teamsEvidence']);
this.openall();
});
}
Expand Down Expand Up @@ -313,6 +315,14 @@ export class ActivityDescriptionComponent implements OnInit {
}
}

defineEvidenceObject(dataToCheck: { [key: string]: string }): Object {
var dataToReturn: { [key: string]: string } = {};
for (var key in dataToCheck) {
dataToReturn[key] = this.defineStringValues(dataToCheck[key], '');
}
return dataToReturn;
}

defineImplementationObject(dataToCheck: implementation[]): implementation[] {
var dataToReturn: implementation[] = [];
for (var data in dataToCheck) {
Expand Down

0 comments on commit 2e49d65

Please sign in to comment.