mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 08:25:01 -06:00
fix: restore the model avatar reset option in the model editor (#29007)
This commit is contained in:
@@ -687,6 +687,18 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex w-full -mt-1">
|
||||
<button
|
||||
class="px-2 py-1 text-gray-500 rounded-lg text-xs"
|
||||
on:click={() => {
|
||||
info.meta.profile_image_url = `${WEBUI_BASE_URL}/static/favicon.png`;
|
||||
}}
|
||||
type="button"
|
||||
>
|
||||
{$i18n.t('Reset Image')}</button
|
||||
>
|
||||
</div>
|
||||
|
||||
{#if preset}
|
||||
<div>
|
||||
<div class="mb-1 text-xs text-gray-400 dark:text-gray-600">
|
||||
|
||||
@@ -2224,6 +2224,7 @@
|
||||
"Reset all permissions to their initial configuration values": "",
|
||||
"Reset Defaults": "",
|
||||
"Reset group permissions to match the current default user permissions": "",
|
||||
"Reset Image": "",
|
||||
"Reset knowledge base?": "",
|
||||
"Reset persisted files": "",
|
||||
"Reset to Defaults": "",
|
||||
|
||||
Reference in New Issue
Block a user