mirror of
https://github.com/styppo/hamstr.git
synced 2024-10-18 13:33:22 +00:00
Turn off notifications for relay notices
This commit is contained in:
parent
22240dbde2
commit
36e1d5406b
@ -1,4 +1,3 @@
|
|||||||
import {Notify} from 'quasar'
|
|
||||||
import {initBackend} from 'absurd-sql/dist/indexeddb-main-thread'
|
import {initBackend} from 'absurd-sql/dist/indexeddb-main-thread'
|
||||||
// import { channel } from './relay'
|
// import { channel } from './relay'
|
||||||
const worker = new Worker(new URL('./query.worker.js', import.meta.url))
|
const worker = new Worker(new URL('./query.worker.js', import.meta.url))
|
||||||
@ -19,10 +18,7 @@ worker.onmessage = ev => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (notice) {
|
if (notice) {
|
||||||
Notify.create({
|
console.log(`Relay ${notice.relay} says: ${notice.message}`)
|
||||||
message: `Relay ${notice.relay} says: ${notice.message}`,
|
|
||||||
color: 'info'
|
|
||||||
})
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user