fix: restore the model avatar reset option in the model editor (#29007)

This commit is contained in:
G30
2026-08-24 19:02:22 -04:00
committed by GitHub
parent d5b66533e7
commit 2978a03c68
2 changed files with 13 additions and 0 deletions
@@ -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">