mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-27 15:49:23 -05:00
chore: format
This commit is contained in:
1 parent
d14e5c154f
commit
0c64e5d596
69 files changed
+4381
-4272
No files matched your search
@@ -319,7 +319,8 @@
|
||||
{/if}
|
||||
|
||||
{#if !selectionOnly}
|
||||
<ModelItemMenu {onComment}
|
||||
<ModelItemMenu
|
||||
{onComment}
|
||||
bind:show={showMenu}
|
||||
model={item.model}
|
||||
{pinModelHandler}
|
||||
|
||||
@@ -87,7 +87,8 @@
|
||||
{/if}
|
||||
|
||||
{#if showComments}
|
||||
<CommentButton {onComment}
|
||||
<CommentButton
|
||||
{onComment}
|
||||
menu
|
||||
resource={{ resource_type: 'model', resource_id: model?.id }}
|
||||
className="select-none flex h-[1.6875rem] w-full items-center gap-2 rounded-xl px-2 text-[0.8125rem] hover:bg-gray-50/40 dark:hover:bg-gray-800/40 transition"
|
||||
|
||||
@@ -1125,7 +1125,8 @@
|
||||
<div style="height: {visibleStart * ITEM_HEIGHT}px;" />
|
||||
{#each filteredItems.slice(visibleStart, visibleEnd) as item, i (item.value)}
|
||||
{@const index = visibleStart + i}
|
||||
<ModelItem onComment={(request) => (comments = request)}
|
||||
<ModelItem
|
||||
onComment={(request) => (comments = request)}
|
||||
bind:selectedModelIdx
|
||||
{item}
|
||||
{index}
|
||||
|
||||
Reference in new issue
Block a user