From a82d245f636230be4030f1b75a5703ece532fa3f Mon Sep 17 00:00:00 2001 From: elweyn Date: Thu, 20 Jul 2023 11:03:20 +0200 Subject: [PATCH] Change toast error to error.message. --- webapp/components/Chat/Chat.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index d1a60a87d..39dd465e2 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -419,7 +419,7 @@ export default { this.fetchRooms({ room: CreateRoom, options: { refetch: true } }) }) .catch((error) => { - this.$toast.error(error) + this.$toast.error(error.message) }) .finally(() => { // this.loading = false