Remove extra conditional

This value should always be a number
This commit is contained in:
Matt Bierner
2019-08-21 11:56:20 -07:00
parent 026b470f49
commit 6c92c45dec

View File

@@ -292,7 +292,7 @@ export class MainThreadWebviews extends Disposable implements MainThreadWebviews
viewStates[handle] = {
visible: input === group.activeEditor,
active: input === activeInput,
position: editorGroupToViewColumn(this._editorGroupService, group.id || 0),
position: editorGroupToViewColumn(this._editorGroupService, group.id),
};
}
}