mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05: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[] {
|
||||
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++) {
|
||||
const item = this.items[i];
|
||||
if (item.config.group !== currentGroup) {
|
||||
|
||||
Reference in New Issue
Block a user