Commit 1aae91c9 authored by Simon Knox's avatar Simon Knox

rename issue_note_awards_list

parent 864fa5a9
<script> <script>
import noteEditedText from './note_edited_text.vue'; import noteEditedText from './note_edited_text.vue';
import issueNoteAwardsList from './issue_note_awards_list.vue'; import noteAwardsList from './note_awards_list.vue';
import noteAttachment from './note_attachment.vue'; import noteAttachment from './note_attachment.vue';
import issueNoteForm from './issue_note_form.vue'; import issueNoteForm from './issue_note_form.vue';
import TaskList from '../../task_list'; import TaskList from '../../task_list';
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
], ],
components: { components: {
noteEditedText, noteEditedText,
issueNoteAwardsList, noteAwardsList,
noteAttachment, noteAttachment,
issueNoteForm, issueNoteForm,
}, },
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
:edited-by="note.last_edited_by" :edited-by="note.last_edited_by"
action-text="Edited" action-text="Edited"
/> />
<issue-note-awards-list <note-awards-list
v-if="note.award_emoji.length" v-if="note.award_emoji.length"
:note-id="note.id" :note-id="note.id"
:note-author-id="note.author.id" :note-author-id="note.author.id"
......
import Vue from 'vue'; import Vue from 'vue';
import store from '~/notes/stores'; import store from '~/notes/stores';
import awardsNote from '~/notes/components/issue_note_awards_list.vue'; import awardsNote from '~/notes/components/note_awards_list.vue';
import { issueDataMock, notesDataMock } from '../mock_data'; import { issueDataMock, notesDataMock } from '../mock_data';
describe('issue_note_awards_list component', () => { describe('note_awards_list component', () => {
let vm; let vm;
let awardsMock; let awardsMock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment