Vue function to display the environment role in a friendlier format
This commit is contained in:
@@ -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 () {
|
||||
|
Reference in New Issue
Block a user