From 6831767b788bab89281d64ba383cd1a0c86d88f8 Mon Sep 17 00:00:00 2001 From: yaananth Date: Thu, 20 Jul 2017 17:04:39 -0400 Subject: [PATCH] control visibility of a section --- build-results-enhancer/src/enhancer/status.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-results-enhancer/src/enhancer/status.ts b/build-results-enhancer/src/enhancer/status.ts index 6794064..afdb02b 100644 --- a/build-results-enhancer/src/enhancer/status.ts +++ b/build-results-enhancer/src/enhancer/status.ts @@ -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); } } @@ -46,4 +49,4 @@ StatusSection.enhance(StatusSection, $(".build-status"), {}); // Notify the parent frame that the host has been loaded VSS.notifyLoadSucceeded(); - \ No newline at end of file +