Skip to content

Commit

Permalink
fix(MessagesGroup) : remove edit indicator for deleted messages
Browse files Browse the repository at this point in the history
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
  • Loading branch information
DorraJaouad committed Feb 22, 2024
1 parent ef784ea commit 1bbffe7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default {
},

getLastEditor() {
if (!this.lastEditTimestamp) {
if (!this.lastEditTimestamp || this.messages[0].messageType === 'comment_deleted') {
return ''
} else if (this.messages[0].lastEditActorId === this.actorId
&& this.messages[0].lastEditActorType === this.actorType) {
Expand Down

0 comments on commit 1bbffe7

Please sign in to comment.