Replace modal title underscore with a space

This commit is contained in:
Marliana Lara 2017-07-11 13:45:22 -04:00
parent 3450937329
commit d5d8d2f3a7
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">