mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
refac
This commit is contained in:
parent
5019af79a0
commit
38920c0ed1
2 changed files with 2 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ export const DEFAULT_PERMISSIONS = {
|
|||
public_skills: false,
|
||||
notes: false,
|
||||
public_notes: false,
|
||||
folders: false,
|
||||
public_chats: false,
|
||||
public_calendars: false
|
||||
},
|
||||
|
|
|
|||
|
|
@ -475,7 +475,7 @@
|
|||
const type = event?.data?.type ?? null;
|
||||
const data = event?.data?.data ?? null;
|
||||
|
||||
// Calendar alerts are not chat-scoped — handle before chat_id checks
|
||||
// Calendar alerts are not chat-scoped, handle before chat_id checks
|
||||
if (type === 'calendar:alert' && data) {
|
||||
const timeStr =
|
||||
data.minutes_until <= 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue