feat: Show errors for message bubbles in dashboard (#3585)
This commit is contained in:
parent
6fe5484119
commit
83655f4ca4
8 changed files with 110 additions and 53 deletions
|
@ -369,7 +369,10 @@ export default {
|
|||
const messagePayload = this.getMessagePayload(newMessage);
|
||||
this.clearMessage();
|
||||
try {
|
||||
await this.$store.dispatch('sendMessage', messagePayload);
|
||||
await this.$store.dispatch(
|
||||
'createPendingMessageAndSend',
|
||||
messagePayload
|
||||
);
|
||||
this.$emit(BUS_EVENTS.SCROLL_TO_MESSAGE);
|
||||
} catch (error) {
|
||||
const errorMessage =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue