mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
using "val" instead of scope value
This commit is contained in:
parent
2bd5c6b1b1
commit
8ff09ec4f5
@ -169,12 +169,12 @@ function(ConfigurationUtils, i18n, $rootScope) {
|
||||
scope.imageData = $rootScope.custom_logo;
|
||||
});
|
||||
|
||||
scope.$watch('imagePresent', () => {
|
||||
if(!scope.imagePresent){
|
||||
filePickerButton.html(browseText);
|
||||
scope.$watch('imagePresent', (val) => {
|
||||
if(val){
|
||||
filePickerButton.html(removeText);
|
||||
}
|
||||
else{
|
||||
filePickerButton.html(removeText);
|
||||
filePickerButton.html(browseText);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user