fix: sort the feedback history by user when the User column is clicked (#30191)

This commit is contained in:
G30 2026-09-19 17:21:51 -04:00 • committed by GitHub
parent 76bd90c832
commit c1a35b4691
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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" />