Vue function to display the environment role in a friendlier format

This commit is contained in:
Montana
2018-09-18 14:05:07 -04:00
parent bead1990c9
commit bf605d1ce6
2 changed files with 4 additions and 2 deletions

View File

@@ -30,7 +30,9 @@ export default {
change: function (e) {
this.value = e.target.value
},
// method to map ugly name to human readable name here
readableName: function (role) {
return role.replace(/[_]/g, " ")
},
},
mounted: function () {