mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-09 03:18:18 +00:00
chore: format
This commit is contained in:
parent
a4735e46b9
commit
cff51f05f5
2 changed files with 29 additions and 37 deletions
|
|
@ -36515,16 +36515,14 @@
|
|||
Re.createElement('span', { className: 'brace-close' }, '}')
|
||||
),
|
||||
de.size
|
||||
? de
|
||||
.entrySeq()
|
||||
.map(([s, o]) =>
|
||||
Re.createElement(Pe, {
|
||||
key: `${s}-${o}`,
|
||||
propKey: s,
|
||||
propVal: o,
|
||||
propClass: 'property'
|
||||
})
|
||||
)
|
||||
? de.entrySeq().map(([s, o]) =>
|
||||
Re.createElement(Pe, {
|
||||
key: `${s}-${o}`,
|
||||
propKey: s,
|
||||
propVal: o,
|
||||
propClass: 'property'
|
||||
})
|
||||
)
|
||||
: null
|
||||
);
|
||||
}
|
||||
|
|
@ -36666,16 +36664,14 @@
|
|||
Re.createElement('span', { className: 'prop-type' }, C),
|
||||
j && Re.createElement('span', { className: 'prop-format' }, '($', j, ')'),
|
||||
z.size
|
||||
? z
|
||||
.entrySeq()
|
||||
.map(([s, o]) =>
|
||||
Re.createElement(ae, {
|
||||
key: `${s}-${o}`,
|
||||
propKey: s,
|
||||
propVal: o,
|
||||
propClass: ts
|
||||
})
|
||||
)
|
||||
? z.entrySeq().map(([s, o]) =>
|
||||
Re.createElement(ae, {
|
||||
key: `${s}-${o}`,
|
||||
propKey: s,
|
||||
propVal: o,
|
||||
propClass: ts
|
||||
})
|
||||
)
|
||||
: null,
|
||||
x && V.size > 0
|
||||
? Re.createElement(pe, { extensions: V, propClass: `${ts} extension` })
|
||||
|
|
@ -58957,20 +58953,18 @@
|
|||
Re.createElement(
|
||||
'div',
|
||||
{ className: 'modal-ux-content' },
|
||||
w
|
||||
.valueSeq()
|
||||
.map((w, C) =>
|
||||
Re.createElement(x, {
|
||||
key: C,
|
||||
AST: _,
|
||||
definitions: w,
|
||||
getComponent: i,
|
||||
errSelectors: a,
|
||||
authSelectors: s,
|
||||
authActions: o,
|
||||
specSelectors: u
|
||||
})
|
||||
)
|
||||
w.valueSeq().map((w, C) =>
|
||||
Re.createElement(x, {
|
||||
key: C,
|
||||
AST: _,
|
||||
definitions: w,
|
||||
getComponent: i,
|
||||
errSelectors: a,
|
||||
authSelectors: s,
|
||||
authActions: o,
|
||||
specSelectors: u
|
||||
})
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -505,9 +505,7 @@ async def _check_calendar_alerts(app) -> None:
|
|||
grace_ns = (SCHEDULER_POLL_INTERVAL + 5) * 1_000_000_000
|
||||
|
||||
async with get_async_db() as db:
|
||||
upcoming = await CalendarEvents.get_upcoming_events(
|
||||
now_ns, default_lookahead_ns, grace_ns=grace_ns, db=db
|
||||
)
|
||||
upcoming = await CalendarEvents.get_upcoming_events(now_ns, default_lookahead_ns, grace_ns=grace_ns, db=db)
|
||||
|
||||
if not upcoming:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue