gitlab-org--gitlab-foss/app/assets/javascripts/vue_shared/mixins/issuable.js
2017-12-04 16:19:07 +00:00

14 lines
211 B
JavaScript

export default {
props: {
issuableType: {
required: true,
type: String,
},
},
computed: {
issuableDisplayName() {
return this.issuableType.replace(/_/g, ' ');
},
},
};