feat(ui): useStartupLogs accepts sort parameter (default desc)

This commit is contained in:
hsiegeln
2026-04-23 15:58:02 +02:00
parent 99a91a57be
commit 1d7009d69c

View File

@@ -143,13 +143,14 @@ export function useStartupLogs(
environment: string | undefined,
deployCreatedAt: string | undefined,
isStarting: boolean,
sort: 'asc' | 'desc' = 'desc',
) {
const params: LogSearchParams = {
application: application || undefined,
environment: environment ?? '',
source: 'container',
from: deployCreatedAt || undefined,
sort: 'asc',
sort,
limit: 500,
};