mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
fix ternary that was hiding the search and action buttons for related lists
This commit is contained in:
@@ -1464,14 +1464,14 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
|||||||
html+= "<span class=\"Form-title--is_superuser\" "+
|
html+= "<span class=\"Form-title--is_superuser\" "+
|
||||||
"ng-if=is_superuser>System Administrator</span>";
|
"ng-if=is_superuser>System Administrator</span>";
|
||||||
}
|
}
|
||||||
html += "</div>\n";
|
html += "</div>\n";
|
||||||
html += "<div class=\"Form-header--fields\">";
|
html += "<div class=\"Form-header--fields\">";
|
||||||
if(this.form.headerFields){
|
if(this.form.headerFields){
|
||||||
var that = this;
|
var that = this;
|
||||||
_.forEach(this.form.headerFields, function(value, key){
|
_.forEach(this.form.headerFields, function(value, key){
|
||||||
html += that.buildHeaderField(key, value, options, that.form);
|
html += that.buildHeaderField(key, value, options, that.form);
|
||||||
});
|
});
|
||||||
html += "</div>\n";
|
html += "</div>\n";
|
||||||
}
|
}
|
||||||
else{ html += "</div>\n"; }
|
else{ html += "</div>\n"; }
|
||||||
if(this.form.cancelButton !== undefined && this.form.cancelButton === false) {
|
if(this.form.cancelButton !== undefined && this.form.cancelButton === false) {
|
||||||
@@ -1782,7 +1782,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
|||||||
|
|
||||||
html += `
|
html += `
|
||||||
<div class=\"row\"
|
<div class=\"row\"
|
||||||
ng-show=\"${collection.hideSearchAndActions ? true : false}\">
|
ng-show=\"${collection.hideSearchAndActions ? false : true}\">
|
||||||
<div class=\"col-lg-8\"
|
<div class=\"col-lg-8\"
|
||||||
ng-show=\"${collection.iterator}Loading == true ||
|
ng-show=\"${collection.iterator}Loading == true ||
|
||||||
${collection.iterator}_active_search == true || (
|
${collection.iterator}_active_search == true || (
|
||||||
|
|||||||
Reference in New Issue
Block a user