1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import * as constants from '../constants'; export default { props: { note: { type: Object, required: true, }, }, computed: { noteableType() { return constants.NOTEABLE_TYPE_MAPPING[this.note.noteable_type]; }, }, };