feat(ui): useStartupLogs accepts sort parameter (default desc)
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user