Skip to content

Commit f1d78ed

Browse files
committed
1 parent a6c47be commit f1d78ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/browser/parts/compositeBar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ class CompositeBarModel {
682682

683683
private updateItemsOrder(): void {
684684
if (this._items) {
685-
this.items.forEach((item, index) => item.order = index);
685+
this.items.forEach((item, index) => { if (item.order !== undefined) { item.order = index; } });
686686
}
687687
}
688688

0 commit comments

Comments
 (0)