mirror of
https://github.com/open-webui/open-webui
synced 2025-06-04 03:37:35 +00:00
Merge branch 'open-webui:dev' into dev
This commit is contained in:
commit
25544b38bd
@ -33,6 +33,7 @@
|
|||||||
if (modelListElement) {
|
if (modelListElement) {
|
||||||
sortable = Sortable.create(modelListElement, {
|
sortable = Sortable.create(modelListElement, {
|
||||||
animation: 150,
|
animation: 150,
|
||||||
|
handle: '.item-handle',
|
||||||
onUpdate: async (event) => {
|
onUpdate: async (event) => {
|
||||||
positionChangeHandler();
|
positionChangeHandler();
|
||||||
}
|
}
|
||||||
@ -47,7 +48,7 @@
|
|||||||
<div class=" flex gap-2 w-full justify-between items-center" id="model-item-{modelId}">
|
<div class=" flex gap-2 w-full justify-between items-center" id="model-item-{modelId}">
|
||||||
<Tooltip content={modelId} placement="top-start">
|
<Tooltip content={modelId} placement="top-start">
|
||||||
<div class="flex items-center gap-1">
|
<div class="flex items-center gap-1">
|
||||||
<EllipsisVertical className="size-4 cursor-move" />
|
<EllipsisVertical className="size-4 cursor-move item-handle" />
|
||||||
|
|
||||||
<div class=" text-sm flex-1 py-1 rounded-lg">
|
<div class=" text-sm flex-1 py-1 rounded-lg">
|
||||||
{#if $models.find((model) => model.id === modelId)}
|
{#if $models.find((model) => model.id === modelId)}
|
||||||
|
Loading…
Reference in New Issue
Block a user