fix(frontend): align sort placeholder and default label with actual default (updatedAt)

The contributor reverted the default sort to updatedAt to fix E2E tests,
but the placeholder and default label still said 'Last Executed'.
This caused a UI mismatch where users saw 'Last Executed' but got
'Last Modified' sorting.
This commit is contained in:
Otto (AGPT)
2026-03-18 12:06:31 +00:00
parent c24ce05970
commit 5cfdce995d
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ export function LibrarySortMenu({ setLibrarySort }: Props) {
<Select onValueChange={handleSortChange}>
<SelectTrigger className="ml-1 w-fit space-x-1 border-none px-0 text-base underline underline-offset-4 shadow-none">
<ArrowDownNarrowWideIcon className="h-4 w-4 sm:hidden" />
<SelectValue placeholder="Last Executed" />
<SelectValue placeholder="Last Modified" />
</SelectTrigger>
<SelectContent>
<SelectGroup>

View File

@@ -18,7 +18,7 @@ export function useLibrarySortMenu({ setLibrarySort }: Props) {
case LibraryAgentSort.updatedAt:
return "Last Modified";
default:
return "Last Executed";
return "Last Modified";
}
};