mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-01 01:12:43 -05:00
fix: keep a workspace model's base model when cloning it from the admin Models settings and hide Clone for arena models (#30080)
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -197,7 +197,7 @@
|
||||
<div class="flex items-center">{$i18n.t('Copy Link')}</div>
|
||||
</button>
|
||||
|
||||
{#if model?.is_active ?? true}
|
||||
{#if (model?.is_active ?? true) && model?.owned_by !== 'arena'}
|
||||
<button
|
||||
class="select-none flex w-full gap-2 items-center h-[1.6875rem] px-2 text-[0.8125rem] font-normal cursor-pointer hover:bg-gray-50/40 dark:hover:bg-gray-800/40 rounded-xl"
|
||||
on:click={() => runAndClose(cloneHandler)}
|
||||
|
||||
Reference in new issue
Block a user