Skip to content

Commit

Permalink
Fix logix on mobile when there is already savem message in localStore
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Nov 2, 2023
1 parent 668f586 commit 25eac20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/MessageEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
this.onSetMessage(chatEditMessageDtoFactory())
}
} else {
if (mbExisting && mbExisting.id) {
if (mbExisting && mbExisting.id == dto.id) {
this.onSetMessage(mbExisting)
} else {
this.onSetMessage(dto)
Expand Down

0 comments on commit 25eac20

Please sign in to comment.