in build-inspector/src/inspector/associatedItemsView.ts [105:128]
private _updateView(): void {
this._setViewTitle();
this._treeView.update(this._currentAction, this._currentId);
this.$workItemGridContainer.hide();
this.$commitContentContainer.hide();
this.$workItemContentContainer.hide();
this.$commitGridContainer.hide();
if (this._currentAction === "overview") {
this.$commitGridContainer.show();
this.$workItemGridContainer.show();
} else if (this._currentAction === 'commit' && this._currentId === 'commit') {
this.$commitGridContainer.show();
} else if (this._currentAction === 'workitem' && this._currentId === 'workitem') {
this.$workItemGridContainer.show();
} else if (this._currentAction === 'commit') {
this.$commitContentContainer.show();
this._renderCommitContent();
} else {
this.$workItemContentContainer.show();
this._renderWorkItemContent();
}
}