improve code: getSectionTitle(item: SectionViewModel): string {
 switch (item.sectionTypeName) {

 case SPECIFICATION\_SECTION\_TYPES.SUPPLY\_CONTROL\_PLAN:
 return `${this.translateService.instant('SUPPLY\_CONTROL\_PLAN.NODE.APPENDIX')} - ${this.translateService.instant('SUPPLY\_CONTROL\_PLAN.NODE.SUPPLY\_CONTROL\_PLAN')}`;
 case SPECIFICATION\_SECTION\_TYPES.S001\_CONTROL\_PLAN\_DESIGN:
 return `${this.translateService.instant('S001\_CONTROL\_PLAN.NODE.CONTROL\_PLAN')} - ${this.translateService.instant('S001\_CONTROL\_PLAN.NODE.DESIGN')}`;
 case SPECIFICATION\_SECTION\_TYPES.S001\_CONTROL\_PLAN\_PRODUCTION:
 return `${this.translateService.instant('S001\_CONTROL\_PLAN.NODE.CONTROL\_PLAN')} - ${this.translateService.instant('S001\_CONTROL\_PLAN.NODE.PRODUCTION')}`;
 case SPECIFICATION\_SECTION\_TYPES.APPENDIX:
 return this.translateService.instant('DOCUMENT.APPENDIX');
 default:
 var title = item.tocIndex
 ? item.tocIndex + ' - ' + item.heading
 : item.heading;
 return title;
 }
 }
user