Skip to content

Commit

Permalink
docs(material/tabs): example of mat-tabs deletion is showing wrong in…
Browse files Browse the repository at this point in the history
…dex (#28256)

(cherry picked from commit c8ce5f2)
  • Loading branch information
akashar13 authored and crisbeto committed Dec 11, 2023
1 parent 7b183b2 commit 2d5f74e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ export class TabGroupDynamicExample {

removeTab(index: number) {
this.tabs.splice(index, 1);
this.selected.setValue(index);
}
}

0 comments on commit 2d5f74e

Please sign in to comment.