From b62000173358c2ce59ed98a6e299a649655fa9dd Mon Sep 17 00:00:00 2001 From: Aldino Kemal Date: Tue, 9 Apr 2024 04:21:30 +0700 Subject: [PATCH] fix: reply from UI (#129) --- src/views/components/SendMessage.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/components/SendMessage.js b/src/views/components/SendMessage.js index 6f56779..88235ea 100644 --- a/src/views/components/SendMessage.js +++ b/src/views/components/SendMessage.js @@ -5,7 +5,7 @@ export default { type: 'user', phone: '', text: '', - reply_id: '', + reply_message_id: '', loading: false, } }, @@ -38,8 +38,8 @@ export default { phone: this.phone_id, message: this.text, } - if (this.reply_id !== '') { - payload.reply_id = this.reply_id; + if (this.reply_message_id !== '') { + payload.reply_message_id = this.reply_message_id; } let response = await window.http.post(`/send/message`, payload) @@ -58,7 +58,7 @@ export default { this.phone = ''; this.text = ''; this.type = 'user'; - this.reply_id = ''; + this.reply_message_id = ''; }, }, template: ` @@ -95,9 +95,9 @@ export default {
- + aria-label="reply_message_id">