Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
import * as constants from '../constants';
export default {
computed: {
noteableType() {
const note = this.discussion ? this.discussion.notes[0] : this.note;
return constants.NOTEABLE_TYPE_MAPPING[note.noteable_type];
},
};