How to suppress in-built notification messages?
- Dominant language
- TypeScript
- Stars
- 285
- Forks
- 307
- PR merge metrics
- No merged PRs in 30d
Description
This module uses in-built notification system (js-notifier), but I have my own, How can I change it to my notifications or supress messages from module?
I guess that I could be to suppress it via upload handlers but it isn't:
```
uploadByFile(file) {
try {
// eslint-disable-next-line no-undef
return globalThis.$nuxt.$axios
.post(
'[LINK TO HANDLER]',
file
)
.then((res) => {
return {
success: 1,
file: {
url: res.data.data.file.url,
},
}
})
.catch(() => {
// It won't disable in-built notifications
console.log('TEST ERR')
// I can call my own notifications here
})
} catch (e) {
// It won't disable in-built notifications too
console.log('TEST')
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.