debian-mirror-gitlab/app/assets/javascripts/vue_shared/mixins/issuable.js

15 lines
211 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
export default {
props: {
issuableType: {
required: true,
type: String,
},
},
computed: {
issuableDisplayName() {
return this.issuableType.replace(/_/g, ' ');
},
},
};