Merge pull request #7070 from marshmalien/fix/removeModalTitleUnderscores

Replace stray underscore in inventory insights credential modal
This commit is contained in:
Marliana Lara
2017-07-14 13:14:05 -04:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -37,6 +37,8 @@ export default ['templateUrl', function(templateUrl) {
$scope.$watch(list.name, function(){
selectRowIfPresent();
});
$scope.modalTitle = list.iterator.replace(/_/g, ' ');
};
function selectRowIfPresent(){

View File

@@ -2,7 +2,7 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header Form-header">
<div class="Form-title Form-title--uppercase">Select {{list.iterator}}</div>
<div class="Form-title Form-title--uppercase">Select {{modalTitle}}</div>
<!-- optional: transclude header fields -->
<div class="Form-header--fields"></div>
<div class="Form-exitHolder">