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
89922cc9d5
commit
629cdcb530
1 changed files with 3 additions and 1 deletions
|
|
@ -162,7 +162,9 @@
|
|||
|
||||
// Reload when the period, group, or custom range changes.
|
||||
// In custom mode, wait until both dates are set to avoid a half-specified query.
|
||||
$: if (selectedPeriod === 'custom' ? customStart && customEnd : selectedPeriod) {
|
||||
$: if (selectedPeriod === 'custom' && !(customStart && customEnd)) {
|
||||
loading = false;
|
||||
} else if (selectedPeriod) {
|
||||
// reference customStart/customEnd so this block reruns when they change
|
||||
customStart;
|
||||
customEnd;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue