Skip to content

Commit

Permalink
Fix tab-bar startup error (#12659)
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew authored Jun 29, 2023
1 parent b1788ea commit 77c80d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/browser/shell/tab-bars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ export class SideTabBar extends ScrollableTabBar {
}

// Special handling if only one element is overflowing.
if (overflowStartIndex === n - 1) {
if (overflowStartIndex === n - 1 && renderData[overflowStartIndex]) {
if (!this.tabsOverflowData) {
overflowStartIndex--;
renderData[overflowStartIndex].visible = false;
Expand Down

0 comments on commit 77c80d5

Please sign in to comment.