no message

This commit is contained in:
Diamantis Tziotzios 2017-12-11 12:36:29 +02:00
parent 265d4cf602
commit 4e61f16996
2 changed files with 14 additions and 10 deletions

View File

@ -13,3 +13,7 @@
padding: 20px;
width: 100%;
}
.ui-steps .ui-steps-item {
min-width: 10%;
}

View File

@ -67,7 +67,7 @@ export class DynamicFormComponent implements OnInit {
visibleSidebar: boolean = false;
private progressbar: boolean = false;
private currentPage: number;
private currentPage: number = 0;
private fragment: string;
constructor(private serverService: ServerService, private router: Router, private pdfService: PDFService,
@ -141,7 +141,7 @@ export class DynamicFormComponent implements OnInit {
}
shouldDisplaySection(section: Section): Boolean {
return section.page == this.currentPage;
return (section.page - 1) == this.currentPage;
}
createPagination() {