forked from open-webui/open-webui
feat: webui notification
This commit is contained in:
parent
b7ff3af445
commit
0fdb346a31
3 changed files with 37 additions and 28 deletions
|
@ -222,7 +222,7 @@
|
|||
};
|
||||
messages = messages;
|
||||
|
||||
if ($settings.responseNotification && !document.hasFocus()) {
|
||||
if ($settings.notificationEnabled && !document.hasFocus()) {
|
||||
const notification = new Notification(
|
||||
selectedModelfile
|
||||
? `${
|
||||
|
|
|
@ -236,7 +236,7 @@
|
|||
};
|
||||
messages = messages;
|
||||
|
||||
if ($settings.responseNotification && !document.hasFocus()) {
|
||||
if ($settings.notificationEnabled && !document.hasFocus()) {
|
||||
const notification = new Notification(
|
||||
selectedModelfile
|
||||
? `${
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue