mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-02 02:12:25 +00:00
fix: sort the feedback history by user when the User column is clicked (#30191)
This commit is contained in:
parent
76bd90c832
commit
c1a35b4691
1 changed files with 2 additions and 2 deletions
|
|
@ -321,11 +321,11 @@
|
|||
<th
|
||||
scope="col"
|
||||
class="px-2.5 py-2 font-normal cursor-pointer select-none w-3"
|
||||
on:click={() => setSortKey('user')}
|
||||
on:click={() => setSortKey('username')}
|
||||
>
|
||||
<div class="flex gap-1.5 items-center justify-end">
|
||||
{$i18n.t('User')}
|
||||
{#if orderBy === 'user'}
|
||||
{#if orderBy === 'username'}
|
||||
<span class="font-normal">
|
||||
{#if direction === 'asc'}
|
||||
<ChevronUp className="size-2" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue