From b0cb5feb9d3c9de60b49f92454053e9bfbc901dc Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Fri, 13 Oct 2017 07:20:00 -0400 Subject: [PATCH] Bug 1501849 - Fix show/hide annotations label "Hide Annotations" was displayed when the annotations were not expanded. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1501849 --- app/views/directives/annotations.html | 2 +- dist/scripts/templates.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/directives/annotations.html b/app/views/directives/annotations.html index 663cf9e082..1781a57342 100644 --- a/app/views/directives/annotations.html +++ b/app/views/directives/annotations.html @@ -1,5 +1,5 @@

- {{!expandAnnotations ? 'Hide Annotations' : 'Show Annotations'}} + {{expandAnnotations ? 'Hide Annotations' : 'Show Annotations'}}

diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index 601d73436c..678e19ff91 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -5768,7 +5768,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( $templateCache.put('views/directives/annotations.html', "

\n" + - "{{!expandAnnotations ? 'Hide Annotations' : 'Show Annotations'}}\n" + + "{{expandAnnotations ? 'Hide Annotations' : 'Show Annotations'}}\n" + "

\n" + "
\n" + "
\n" +