Commit 4ce19967 authored by Simon Knox's avatar Simon Knox

issue_note_edited_text to note_edited_text

parent a96c3204
......@@ -6,7 +6,7 @@
import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue';
import noteHeader from './note_header.vue';
import issueNoteSignedOutWidget from './issue_note_signed_out_widget.vue';
import issueNoteEditedText from './issue_note_edited_text.vue';
import noteEditedText from './note_edited_text.vue';
import issueNoteForm from './issue_note_form.vue';
import placeholderNote from '../../vue_shared/components/notes/placeholder_note.vue';
import placeholderSystemNote from '../../vue_shared/components/notes/placeholder_system_note.vue';
......@@ -29,7 +29,7 @@
userAvatarLink,
noteHeader,
issueNoteSignedOutWidget,
issueNoteEditedText,
noteEditedText,
issueNoteForm,
placeholderNote,
placeholderSystemNote,
......@@ -178,7 +178,7 @@
action-text="started a discussion"
class="discussion"
/>
<issue-note-edited-text
<note-edited-text
v-if="lastUpdatedAt"
:edited-at="lastUpdatedAt"
:edited-by="lastUpdatedBy"
......
<script>
import issueNoteEditedText from './issue_note_edited_text.vue';
import noteEditedText from './note_edited_text.vue';
import issueNoteAwardsList from './issue_note_awards_list.vue';
import issueNoteAttachment from './issue_note_attachment.vue';
import issueNoteForm from './issue_note_form.vue';
......@@ -26,7 +26,7 @@
autosave,
],
components: {
issueNoteEditedText,
noteEditedText,
issueNoteAwardsList,
issueNoteAttachment,
issueNoteForm,
......@@ -101,7 +101,7 @@
v-model="note.note"
:data-update-url="note.path"
class="hidden js-task-list-field"></textarea>
<issue-note-edited-text
<note-edited-text
v-if="note.last_edited_at"
:edited-at="note.last_edited_at"
:edited-by="note.last_edited_by"
......
import Vue from 'vue';
import issueNoteEditedText from '~/notes/components/issue_note_edited_text.vue';
import noteEditedText from '~/notes/components/note_edited_text.vue';
describe('issue_note_edited_text', () => {
describe('note_edited_text', () => {
let vm;
let props;
beforeEach(() => {
const Component = Vue.extend(issueNoteEditedText);
const Component = Vue.extend(noteEditedText);
props = {
actionText: 'Edited',
className: 'foo-bar',
......
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