mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 18:17:56 -05:00
refac
This commit is contained in:
1 parent
1712f4fa6c
commit
c82ceaf1fc
21 files changed
+285
-154
No files matched your search
@@ -1282,6 +1282,12 @@ ${content}
|
||||
</button>
|
||||
</Tooltip>
|
||||
|
||||
<CommentButton
|
||||
className="p-1 bg-transparent hover:bg-white/5 transition rounded-lg"
|
||||
onComment={(request) => (currentNoteComments = request)}
|
||||
resource={{ resource_type: 'note', resource_id: note.id }}
|
||||
/>
|
||||
|
||||
{#if note?.write_access}
|
||||
<RecordMenu
|
||||
onRecord={async () => {
|
||||
@@ -1390,14 +1396,6 @@ ${content}
|
||||
>
|
||||
<EllipsisHorizontal className="size-5" />
|
||||
</button>
|
||||
<svelte:fragment slot="actions" let:close>
|
||||
<CommentButton
|
||||
menu
|
||||
onOpen={close}
|
||||
onComment={(request) => (currentNoteComments = request)}
|
||||
resource={{ resource_type: 'note', resource_id: note.id }}
|
||||
/>
|
||||
</svelte:fragment>
|
||||
</NoteMenu>
|
||||
|
||||
{#if liveParticipants.length > 0}
|
||||
|
||||
@@ -165,8 +165,6 @@
|
||||
</DropdownSub>
|
||||
{/if}
|
||||
|
||||
<slot name="actions" close={() => (show = false)} />
|
||||
|
||||
{#if onPin}
|
||||
<button
|
||||
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[0.8125rem] hover:text-gray-900 dark:hover:text-gray-100"
|
||||
|
||||
Reference in new issue
Block a user