Skip to content

Commit

Permalink
Task #1 : Issue fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratikshakhandagale committed Dec 6, 2022
1 parent 3eabc2b commit e8e8d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/admin/create-entity/create-entity.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ export class CreateEntityComponent implements OnInit {
}

backStep() {
if (this.currentTab >= 1 && this.currentTab < 4) {
if (this.currentTab >= 1 && this.currentTab < this.steps.length) {
this.steps[this.currentTab].classList.remove("activeTab");
this.currentTab -= 1;
this.steps[this.currentTab].classList.add("activeTab")
Expand Down

0 comments on commit e8e8d1b

Please sign in to comment.