File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
packages/oss-console/src/components/Entities Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import styled from '@mui/system/styled';
1414import CheckIcon from '@mui/icons-material/Check' ;
1515import ExpandLess from '@mui/icons-material/ExpandLess' ;
1616import ExpandMore from '@mui/icons-material/ExpandMore' ;
17+ import { executionSortFields } from '../../models/Execution/constants' ;
18+ import { SortDirection } from '@clients/common/types/adminEntityTypes' ;
1719import { FilterOperationName } from '@clients/common/types/adminEntityTypes' ;
1820import { useLaunchPlans } from '../hooks/useLaunchPlans' ;
1921import { formatType , getInputDefintionForLiteralType } from '../Launch/LaunchForm/utils' ;
@@ -69,6 +71,11 @@ interface Input {
6971export const EntityInputs : React . FC < {
7072 id : ResourceIdentifier ;
7173} > = ( { id } ) => {
74+ const sort = {
75+ key : executionSortFields . createdAt ,
76+ direction : SortDirection . DESCENDING ,
77+ } ;
78+
7279 const launchPlanState = useLaunchPlans (
7380 { project : id . project , domain : id . domain } ,
7481 {
@@ -80,6 +87,7 @@ export const EntityInputs: React.FC<{
8087 value : id . name ,
8188 } ,
8289 ] ,
90+ sort,
8391 } ,
8492 ) ;
8593
You can’t perform that action at this time.
0 commit comments