mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
added chime on bot message
This commit is contained in:
parent
531a4ab3dc
commit
3de612e7f0
BIN
web/public/chime_aud.wav
Normal file
BIN
web/public/chime_aud.wav
Normal file
Binary file not shown.
@ -141,6 +141,7 @@ export default {
|
||||
isCheckbox: false,
|
||||
isSelectAll: false,
|
||||
showConfirmation: false,
|
||||
chime: new Audio("chime_aud.wav")
|
||||
|
||||
}
|
||||
},
|
||||
@ -320,6 +321,7 @@ export default {
|
||||
nextTick(() => {
|
||||
const responseMessageElement = document.getElementById('msg-' + msgObj.response_id)
|
||||
this.scrollToElement(responseMessageElement)
|
||||
this.chime.play()
|
||||
})
|
||||
|
||||
if (this.currentDiscussion.title === '' || this.currentDiscussion.title === null) {
|
||||
@ -489,6 +491,9 @@ export default {
|
||||
},
|
||||
async created() {
|
||||
// Constructor
|
||||
//const chime = require('../assets/chime_aud.wav')
|
||||
|
||||
|
||||
this.setPageTitle()
|
||||
await this.list_discussions()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user