Skip to content
Snippets Groups Projects
Commit 49036444 authored by Reményi Gergely's avatar Reményi Gergely
Browse files

KST-23: fix issue with new history creation

parent 5aa5a084
Branches
Tags
1 merge request!2Service page rework
...@@ -130,6 +130,9 @@ export class ServiceDetailComponent implements OnInit { ...@@ -130,6 +130,9 @@ export class ServiceDetailComponent implements OnInit {
this.servicesService.getServiceById(this.id).subscribe( this.servicesService.getServiceById(this.id).subscribe(
(s) => { (s) => {
this.service = s; this.service = s;
if (this.service.history == null) {
this.service.history = new Array;
}
this.isLoading = false; this.isLoading = false;
}, },
(error) => { (error) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment