mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-27 15:20:30 -04:00
Fix tabbed panel error (#14074)
This commit is contained in:
@@ -83,7 +83,7 @@ export default class TabbedPanelComponent extends ContainerBase<TabConfig> imple
|
|||||||
|
|
||||||
get tabs(): Tab[] {
|
get tabs(): Tab[] {
|
||||||
if (this.items.length > this._itemIndexToProcess) {
|
if (this.items.length > this._itemIndexToProcess) {
|
||||||
let currentGroup: string | undefined = this.items.length === 1 ? undefined : this.items[this._itemIndexToProcess - 1].config.group;
|
let currentGroup: string | undefined = this.items.length === 1 ? undefined : this.items[this._itemIndexToProcess - 1]?.config.group;
|
||||||
for (let i = this._itemIndexToProcess; i < this.items.length; i++) {
|
for (let i = this._itemIndexToProcess; i < this.items.length; i++) {
|
||||||
const item = this.items[i];
|
const item = this.items[i];
|
||||||
if (item.config.group !== currentGroup) {
|
if (item.config.group !== currentGroup) {
|
||||||
|
|||||||
Reference in New Issue
Block a user