Skip to content

Commit

Permalink
unused code removed
Browse files Browse the repository at this point in the history
  • Loading branch information
suvarnakale committed Oct 27, 2023
1 parent 7aee22b commit d9b0d53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/app/admin/add-template/add-template.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export class AddTemplateComponent implements OnInit {
vcStep: string;
fromPreview: boolean;
credTemp: any[];
flag: boolean;
certificateName: any;
constructor(public schemaService: SchemaService,
public toastMsg: ToastMessageService,
Expand Down
9 changes: 4 additions & 5 deletions src/app/admin/configurations/configurations.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ export class ConfigurationsComponent implements OnInit {
if(schemaName == ''){
this.router.navigateByUrl('/create/' + this.currentTab + '/' + this.usecase + '/' + this.entityKey);
}
// if(schemaName !== ''){
// this.entityKey = schemaName;
// this.router.navigateByUrl('/create/' + this.currentTab + '/' + this.usecase + '/' + this.entityKey);
// }
if(schemaName !== ''){
this.entityKey = schemaName;
this.router.navigateByUrl('/create/' + this.currentTab + '/' + this.usecase + '/' + this.entityKey);
}

}

Expand All @@ -99,4 +99,3 @@ export class ConfigurationsComponent implements OnInit {
}
}


0 comments on commit d9b0d53

Please sign in to comment.