mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
Update Database.svelte
This commit is contained in:
parent
4e6e5819a6
commit
daed47db03
1 changed files with 17 additions and 11 deletions
|
|
@ -37,7 +37,10 @@
|
|||
delete_orphaned_models,
|
||||
delete_orphaned_notes,
|
||||
delete_orphaned_folders,
|
||||
audio_cache_max_age_days
|
||||
audio_cache_max_age_days,
|
||||
delete_inactive_users_days,
|
||||
exempt_admin_users,
|
||||
exempt_pending_users
|
||||
} = event.detail;
|
||||
|
||||
const res = await pruneData(
|
||||
|
|
@ -53,7 +56,10 @@
|
|||
delete_orphaned_models,
|
||||
delete_orphaned_notes,
|
||||
delete_orphaned_folders,
|
||||
audio_cache_max_age_days
|
||||
audio_cache_max_age_days,
|
||||
delete_inactive_users_days,
|
||||
exempt_admin_users,
|
||||
exempt_pending_users
|
||||
).catch((error) => {
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue