diff --git a/src/lib/components/workspace/Models/ModelEditor.svelte b/src/lib/components/workspace/Models/ModelEditor.svelte index 334957ce10..cca734c781 100644 --- a/src/lib/components/workspace/Models/ModelEditor.svelte +++ b/src/lib/components/workspace/Models/ModelEditor.svelte @@ -941,192 +941,197 @@ >
-
- {#if backgroundPreview || info.meta.background_image_url} - {$i18n.t('Background - {:else} - - {/if} - {#if !readOnly} -
- {#if loading}{/if} - {#if backgroundPreview || info.meta.background_image_url} - - - {:else} - - {/if} -
- {/if} -
- -
+
- -
- +
+ - {#if info.meta.profile_image_url && info.meta.profile_image_url !== `${WEBUI_BASE_URL}/static/favicon.png`} - - {/if} -
- -
-
- {#if editingLocale} - - setLocalizedField('name', (e.currentTarget as HTMLInputElement).value)} - /> - {:else} - + {#if info.meta.profile_image_url && info.meta.profile_image_url !== `${WEBUI_BASE_URL}/static/favicon.png`} + {/if}
- {#if editingLocale} -
-
- - {#if localizedField('name')} - - {/if} -
+
+
+ {#if editingLocale} + + setLocalizedField( + 'name', + (e.currentTarget as HTMLInputElement).value + )} + /> + {:else} + + {/if} + {#if !readOnly} +
+ {#if loading}{/if} + {#if backgroundPreview || info.meta.background_image_url} + + + {:else} + + {/if} +
+ {/if}
- {/if} - + {#if editingLocale} +
+
+ + {#if localizedField('name')} + + {/if} +
+
+ {/if} + + +
-