mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 09:35:39 -05:00
This reverts commit 22a427f934.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
import { Event, Emitter } from 'vs/base/common/event';
|
||||
|
||||
import { IDashboardTab } from 'sql/workbench/parts/dashboard/browser/dashboardRegistry';
|
||||
import { find } from 'vs/base/common/arrays';
|
||||
|
||||
|
||||
export interface IDashboardUITab {
|
||||
@@ -35,7 +34,7 @@ export class NewDashboardTabViewModel {
|
||||
tabList.push({ tabConfig: tab });
|
||||
});
|
||||
openedTabs.forEach(tab => {
|
||||
let uiTab = find(tabList, i => i.tabConfig === tab);
|
||||
let uiTab = tabList.find(i => i.tabConfig === tab);
|
||||
if (uiTab) {
|
||||
uiTab.isOpened = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user