move socket toast to top of the page

This commit is contained in:
Brandon A 2025-10-29 21:02:38 +00:00
parent 0c7b738b7c
commit ad12026229

View File

@ -96,7 +96,7 @@ export default {
timeout: timeout,
type: type,
closeButton: false,
position: 'bottom-center',
position: 'top-center',
onClose: () => {
this.socketConnectionToastId = null
},
@ -105,7 +105,7 @@ export default {
}
this.$toast.update(this.socketConnectionToastId, toastUpdateOptions, false)
} else {
this.socketConnectionToastId = this.$toast[type](content, { position: 'bottom-center', timeout: timeout, closeButton: false, closeOnClick: timeout !== null })
this.socketConnectionToastId = this.$toast[type](content, { position: 'top-center', timeout: timeout, closeButton: false, closeOnClick: timeout !== null })
}
},
connect() {