mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
Update Database.svelte
This commit is contained in:
parent
028a2e5984
commit
0bd42e5c6d
1 changed files with 14 additions and 12 deletions
|
|
@ -32,7 +32,8 @@
|
||||||
delete_orphaned_knowledge_bases,
|
delete_orphaned_knowledge_bases,
|
||||||
delete_orphaned_models,
|
delete_orphaned_models,
|
||||||
delete_orphaned_notes,
|
delete_orphaned_notes,
|
||||||
delete_orphaned_folders
|
delete_orphaned_folders,
|
||||||
|
audio_cache_max_age_days
|
||||||
} = event.detail;
|
} = event.detail;
|
||||||
|
|
||||||
const res = await pruneData(
|
const res = await pruneData(
|
||||||
|
|
@ -47,7 +48,8 @@
|
||||||
delete_orphaned_knowledge_bases,
|
delete_orphaned_knowledge_bases,
|
||||||
delete_orphaned_models,
|
delete_orphaned_models,
|
||||||
delete_orphaned_notes,
|
delete_orphaned_notes,
|
||||||
delete_orphaned_folders
|
delete_orphaned_folders,
|
||||||
|
audio_cache_max_age_days
|
||||||
).catch((error) => {
|
).catch((error) => {
|
||||||
toast.error(`${error}`);
|
toast.error(`${error}`);
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue