mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-14 14:19:40 +00:00
move socket toast to top of the page
This commit is contained in:
parent
0c7b738b7c
commit
ad12026229
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue