refac: disable direct models from model editors
This commit is contained in:
1 parent
88a6fe3c7a
commit
8c662c65a9
1 file changed
+1
-1
@@ -526,7 +526,7 @@
|
|||||||
<option value={null} class=" text-gray-900"
|
<option value={null} class=" text-gray-900"
|
||||||
>{$i18n.t('Select a base model')}</option
|
>{$i18n.t('Select a base model')}</option
|
||||||
>
|
>
|
||||||
{#each $models.filter((m) => (model ? m.id !== model.id : true) && !m?.preset && m?.owned_by !== 'arena') as model}
|
{#each $models.filter((m) => (model ? m.id !== model.id : true) && !m?.preset && m?.owned_by !== 'arena' && !(m?.direct ?? false)) as model}
|
||||||
<option value={model.id} class=" text-gray-900">{model.name}</option>
|
<option value={model.id} class=" text-gray-900">{model.name}</option>
|
||||||
{/each}
|
{/each}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in new issue
Block a user