IssueNotesRefactor: Support legacy last edited by case.
This commit is contained in:
parent
4e77db3962
commit
70a322c5da
3 changed files with 11 additions and 9 deletions
|
@ -170,7 +170,7 @@
|
|||
class="discussion"
|
||||
/>
|
||||
<issue-note-edited-text
|
||||
v-if="lastUpdatedBy"
|
||||
v-if="lastUpdatedAt"
|
||||
:edited-at="lastUpdatedAt"
|
||||
:edited-by="lastUpdatedBy"
|
||||
action-text="Last updated"
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
:data-update-url="note.path"
|
||||
class="hidden js-task-list-field"></textarea>
|
||||
<issue-note-edited-text
|
||||
v-if="note.last_edited_by"
|
||||
v-if="note.last_edited_at"
|
||||
:edited-at="note.last_edited_at"
|
||||
:edited-by="note.last_edited_by"
|
||||
action-text="Edited"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
},
|
||||
editedBy: {
|
||||
type: Object,
|
||||
required: true,
|
||||
required: false,
|
||||
},
|
||||
className: {
|
||||
type: String,
|
||||
|
@ -35,11 +35,13 @@
|
|||
:time="editedAt"
|
||||
tooltip-placement="bottom"
|
||||
/>
|
||||
by
|
||||
<a
|
||||
:href="editedBy.path"
|
||||
class="js-vue-author author_link">
|
||||
{{editedBy.name}}
|
||||
</a>
|
||||
<template v-if="editedBy">
|
||||
by
|
||||
<a
|
||||
:href="editedBy.path"
|
||||
class="js-vue-author author_link">
|
||||
{{editedBy.name}}
|
||||
</a>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue