feat: notes scaffolding
This commit is contained in:
1 parent
2062d3434e
commit
5d5e351937
13 files changed
+121
-9
No files matched your search
@@ -227,7 +227,7 @@
|
||||
|
||||
if ($isLastActiveTab) {
|
||||
if ($settings?.notificationEnabled ?? false) {
|
||||
new Notification(`${title} | Open WebUI`, {
|
||||
new Notification(`${title} • Open WebUI`, {
|
||||
body: content,
|
||||
icon: `${WEBUI_BASE_URL}/static/favicon.png`
|
||||
});
|
||||
@@ -376,7 +376,7 @@
|
||||
if (type === 'message') {
|
||||
if ($isLastActiveTab) {
|
||||
if ($settings?.notificationEnabled ?? false) {
|
||||
new Notification(`${data?.user?.name} (#${event?.channel?.name}) | Open WebUI`, {
|
||||
new Notification(`${data?.user?.name} (#${event?.channel?.name}) • Open WebUI`, {
|
||||
body: data?.content,
|
||||
icon: data?.user?.profile_image_url ?? `${WEBUI_BASE_URL}/static/favicon.png`
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user