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
e4a0bd8640
commit
60edac6c3f
1 changed files with 4 additions and 3 deletions
|
|
@ -79,9 +79,9 @@
|
||||||
return `"${String(user[header]).replace(/"/g, '""')}"`;
|
return `"${String(user[header]).replace(/"/g, '""')}"`;
|
||||||
})
|
})
|
||||||
.join(',');
|
.join(',');
|
||||||
|
|
||||||
})
|
})
|
||||||
].join('\n');
|
].join('\n');
|
||||||
|
|
||||||
const blob = new Blob([csv], { type: 'text/csv;charset=utf-8;' });
|
const blob = new Blob([csv], { type: 'text/csv;charset=utf-8;' });
|
||||||
saveAs(blob, 'users.csv');
|
saveAs(blob, 'users.csv');
|
||||||
};
|
};
|
||||||
|
|
@ -101,6 +101,7 @@
|
||||||
<div class=" space-y-3 overflow-y-scroll scrollbar-hidden h-full">
|
<div class=" space-y-3 overflow-y-scroll scrollbar-hidden h-full">
|
||||||
<div>
|
<div>
|
||||||
<div class=" mb-2 text-sm font-medium">{$i18n.t('Database')}</div>
|
<div class=" mb-2 text-sm font-medium">{$i18n.t('Database')}</div>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
id="config-json-input"
|
id="config-json-input"
|
||||||
hidden
|
hidden
|
||||||
|
|
@ -242,11 +243,9 @@
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" self-center text-sm font-medium">
|
<div class=" self-center text-sm font-medium">
|
||||||
{$i18n.t('Export All Chats (All Users)')}
|
{$i18n.t('Export All Chats (All Users)')}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
|
|
@ -303,6 +302,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="flex justify-end pt-3 text-sm font-medium">
|
<!-- <div class="flex justify-end pt-3 text-sm font-medium">
|
||||||
<button
|
<button
|
||||||
class=" px-4 py-2 bg-emerald-700 hover:bg-emerald-800 text-gray-100 transition rounded-lg"
|
class=" px-4 py-2 bg-emerald-700 hover:bg-emerald-800 text-gray-100 transition rounded-lg"
|
||||||
|
|
@ -310,5 +310,6 @@
|
||||||
>
|
>
|
||||||
{$i18n.t('Save')}
|
{$i18n.t('Save')}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</div> -->
|
</div> -->
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue