feat: notes scaffolding

This commit is contained in:
Timothy Jaeryang Baek committed 2025-05-01 16:39:36 +04:00
1 parent 2062d3434e
commit 5d5e351937
13 files changed
+121 -9

No files matched your search

+2 -2
View File
@@ -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`
});