mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -05:00
fix array access issues with map iterators
This commit is contained in:
@@ -284,7 +284,7 @@ export class TabbedPanel extends Disposable {
|
||||
}
|
||||
}
|
||||
if (!this._shownTabId && this._tabMap.size > 0) {
|
||||
this.showTab(this._tabMap.values()[0].tab.identifier);
|
||||
this.showTab(this._tabMap.values().next().value.tab.identifier);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user