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
2681fd268b
commit
13100ab9b3
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
||||||
const settings = event.detail;
|
const settings = event.detail;
|
||||||
lastPruneSettings = settings;
|
lastPruneSettings = settings;
|
||||||
|
|
||||||
|
console.log('Preview call - dry_run should be TRUE');
|
||||||
const res = await pruneData(
|
const res = await pruneData(
|
||||||
localStorage.token,
|
localStorage.token,
|
||||||
settings.days,
|
settings.days,
|
||||||
|
|
@ -64,6 +65,7 @@
|
||||||
const handleConfirmPrune = async () => {
|
const handleConfirmPrune = async () => {
|
||||||
if (!lastPruneSettings) return;
|
if (!lastPruneSettings) return;
|
||||||
|
|
||||||
|
console.log('Confirm call - dry_run should be FALSE');
|
||||||
const res = await pruneData(
|
const res = await pruneData(
|
||||||
localStorage.token,
|
localStorage.token,
|
||||||
lastPruneSettings.days,
|
lastPruneSettings.days,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue