Skip to content

Commit 30120e4

Browse files
committed
Dont pass undefined as boolean
For microsoft#81574
1 parent 831800d commit 30120e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export abstract class CompositePart<T extends Composite> extends Part {
168168
// Instantiate composite from registry otherwise
169169
const compositeDescriptor = this.registry.getComposite(id);
170170
if (compositeDescriptor) {
171-
const compositeProgressIndicator = this.instantiationService.createInstance(CompositeProgressIndicator, this.progressBar, compositeDescriptor.id, isActive);
171+
const compositeProgressIndicator = this.instantiationService.createInstance(CompositeProgressIndicator, this.progressBar, compositeDescriptor.id, !!isActive);
172172
const compositeInstantiationService = this.instantiationService.createChild(new ServiceCollection(
173173
[IEditorProgressService, compositeProgressIndicator] // provide the editor progress service for any editors instantiated within the composite
174174
));

0 commit comments

Comments
 (0)