mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-05 11:07:55 -05:00
refac
This commit is contained in:
1 parent
f329d2bcfb
commit
d69c8ee947
72 files changed
+327
-45
No files matched your search
@@ -178,17 +178,21 @@
|
||||
{/if}
|
||||
<TaskDueDate date={dueDate} labeled onChange={(next) => (dueDate = next)} />
|
||||
{#if target}
|
||||
<!-- No id yet: the picker keeps the chosen tags here until the task is created. -->
|
||||
<FolderTags
|
||||
resourceType="tasks"
|
||||
chat={{ id: '', title: title || $i18n.t('New task'), tags }}
|
||||
folderId={target.id}
|
||||
editable
|
||||
max={4}
|
||||
onChange={(next) => {
|
||||
tags = next;
|
||||
}}
|
||||
/>
|
||||
<!-- No id yet: the picker keeps the chosen tags here until the task is created.
|
||||
Not a row, so its "+ Tag" chip shows without hovering. -->
|
||||
<div class="flex" data-tags-shown>
|
||||
<FolderTags
|
||||
resourceType="tasks"
|
||||
chat={{ id: '', title: title || $i18n.t('New task'), tags }}
|
||||
folderId={target.id}
|
||||
editable
|
||||
labeled
|
||||
max={4}
|
||||
onChange={(next) => {
|
||||
tags = next;
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user