Merge pull request 'Fix bad data in UI' (#30) from working into main
Docker Build and Release Upload / build (push) Successful in 1m22s
Docker Build and Release Upload / build (push) Successful in 1m22s
Reviewed-on: #30
This commit was merged in pull request #30.
This commit is contained in:
@@ -33,6 +33,36 @@ export class ResumesEditorComponent {
|
||||
if (ResumeID !== null){
|
||||
this.http.get<Resume>("api/resume?ResumeID=" + ResumeID).subscribe({
|
||||
next: data => {
|
||||
|
||||
data.trackUUID = crypto.randomUUID();
|
||||
data.certifications.forEach(element => {
|
||||
element.trackUUID = crypto.randomUUID();
|
||||
});
|
||||
data.educations.forEach(element => {
|
||||
element.trackUUID = crypto.randomUUID();
|
||||
});
|
||||
data.experiences.forEach(element => {
|
||||
element.trackUUID = crypto.randomUUID();
|
||||
element.experienceBullets.forEach(subelement => {
|
||||
subelement.trackUUID = crypto.randomUUID();
|
||||
});
|
||||
});
|
||||
data.languages.forEach(element => {
|
||||
element.trackUUID = crypto.randomUUID();
|
||||
});
|
||||
if (data.military){
|
||||
data.military.trackUUID = crypto.randomUUID();
|
||||
data.military.militaryBullets.forEach(element => {
|
||||
element.trackUUID = crypto.randomUUID();
|
||||
});
|
||||
}
|
||||
data.projects.forEach(element => {
|
||||
element.trackUUID = crypto.randomUUID();
|
||||
});
|
||||
data.skills.forEach(element => {
|
||||
element.trackUUID = crypto.randomUUID();
|
||||
});
|
||||
|
||||
this.resume = data;
|
||||
this.milCache = data.military;
|
||||
this.isNewResume = false;
|
||||
|
||||
Reference in New Issue
Block a user