debian-mirror-gitlab/app/assets/javascripts/vue_shared/mixins/issuable.js
2018-03-17 18:26:18 +05:30

14 lines
211 B
JavaScript

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