mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-30 15:49:38 +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,
|
||||
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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue