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, timeout: timeout,
type: type, type: type,
closeButton: false, closeButton: false,
position: 'bottom-center', position: 'top-center',
onClose: () => { onClose: () => {
this.socketConnectionToastId = null this.socketConnectionToastId = null
}, },
@ -105,7 +105,7 @@ export default {
} }
this.$toast.update(this.socketConnectionToastId, toastUpdateOptions, false) this.$toast.update(this.socketConnectionToastId, toastUpdateOptions, false)
} else { } 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() { connect() {