mod model select
This commit is contained in:
parent
53b9dd3487
commit
b1c326253a
|
|
@ -52,8 +52,8 @@
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{#if selectedModelIdx === 0 && $user.role === 'admin'}
|
||||
{#if $user.role === 'admin'}
|
||||
{#if selectedModelIdx === 0}
|
||||
<div
|
||||
class=" self-center mx-1 disabled:text-gray-600 disabled:hover:text-gray-600 -translate-y-[0.5px]"
|
||||
>
|
||||
|
|
@ -106,12 +106,14 @@
|
|||
</Tooltip>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
{#if $user.role === 'admin'}
|
||||
{#if showSetDefault}
|
||||
<div class=" absolute text-left mt-[1px] ml-1 text-[0.7rem] text-gray-500 font-primary">
|
||||
<button on:click={saveDefaultModel}> {$i18n.t('Set as default')}</button>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
Loading…
Reference in New Issue