mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-10 22:43:29 +00:00
fix: stop the note editor date reading as a button (#29708)
This commit is contained in:
parent
a3c90e5aac
commit
ffe6ab9869
1 changed files with 2 additions and 2 deletions
|
|
@ -1263,7 +1263,7 @@ ${content}
|
|||
<div
|
||||
class="flex gap-0.5 items-center text-xs font-normal text-gray-500 dark:text-gray-500 w-fit"
|
||||
>
|
||||
<button class=" flex items-center gap-1 w-fit py-1 px-1.5 rounded-lg min-w-fit">
|
||||
<div class=" flex items-center gap-1 w-fit py-1 px-1.5 rounded-lg min-w-fit">
|
||||
<!-- check for same date, yesterday, last week, and other -->
|
||||
|
||||
{#if dayjs(note.created_at / 1000000).isSame(dayjs(), 'day')}
|
||||
|
|
@ -1285,7 +1285,7 @@ ${content}
|
|||
{:else}
|
||||
<span>{dayjs(note.created_at / 1000000).format($i18n.t('DD/MM/YYYY'))}</span>
|
||||
{/if}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{#if editor}
|
||||
<div class="flex items-center gap-1 px-1 min-w-fit">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue