"...composable_kernel_onnxruntime.git" did not exist on "20a672d0b836cac308518c41a78d486dce6d8e09"
Commit 89d80b58 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: presets should not be allowed as a base model

parent 83097cd8
......@@ -290,7 +290,7 @@
<option value={null} class=" placeholder:text-gray-500"
>{$i18n.t('Select a base model')}</option
>
{#each $models as model}
{#each $models.filter((m) => !m?.preset) as model}
<option value={model.id}>{model.name}</option>
{/each}
</select>
......
......@@ -282,7 +282,7 @@
<option value={null} class=" placeholder:text-gray-500"
>{$i18n.t('Select a base model')}</option
>
{#each $models.filter((m) => m.id !== model.id) as model}
{#each $models.filter((m) => m.id !== model.id && !m?.preset) as model}
<option value={model.id}>{model.name}</option>
{/each}
</select>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment