Skip to content

Commit

Permalink
control visibility of a section
Browse files Browse the repository at this point in the history
  • Loading branch information
yaananth authored Jul 20, 2017
1 parent 6e011d2 commit 6831767
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-results-enhancer/src/enhancer/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ export class StatusSection extends Controls.BaseControl {
this._element.find("#status-img").attr("src", imgSource);
this._initBuildStatus(build);
});
// control visibility of the section
// setSectionVisibility is added in sprint M121
// sharedConfig.setSectionVisibility("fabrikam.samples-build-results-enhancer.build-status-section", false);
}
}

Expand All @@ -46,4 +49,4 @@ StatusSection.enhance(StatusSection, $(".build-status"), {});
// Notify the parent frame that the host has been loaded
VSS.notifyLoadSucceeded();



0 comments on commit 6831767

Please sign in to comment.