diff --git a/awx/ui/client/src/shared/directives.js b/awx/ui/client/src/shared/directives.js index 8ea5d37105..51b767bd83 100644 --- a/awx/ui/client/src/shared/directives.js +++ b/awx/ui/client/src/shared/directives.js @@ -169,6 +169,15 @@ function(ConfigurationUtils, i18n, $rootScope) { scope.imageData = $rootScope.custom_logo; }); + scope.$watch('imagePresent', () => { + if(!scope.imagePresent){ + filePickerButton.html(browseText); + } + else{ + filePickerButton.html(removeText); + } + }); + scope.$on(fieldKey+'_reverted', function(e) { scope.update(e, true); });