Change toast error to error.message.

This commit is contained in:
elweyn 2023-07-20 11:03:20 +02:00
parent b76802f59f
commit a82d245f63

View File

@ -419,7 +419,7 @@ export default {
this.fetchRooms({ room: CreateRoom, options: { refetch: true } }) this.fetchRooms({ room: CreateRoom, options: { refetch: true } })
}) })
.catch((error) => { .catch((error) => {
this.$toast.error(error) this.$toast.error(error.message)
}) })
.finally(() => { .finally(() => {
// this.loading = false // this.loading = false