Fix pipeline task filtering for failed status (#14093)

* fix task status failed name

* Table's rowKey should be unique
This commit is contained in:
dechoma 2023-11-24 07:03:26 +01:00 committed by GitHub
parent ca81d523ee
commit f95867abc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ const ListView = ({ executions, status, loading }: ListViewProps) => {
emptyText: <FilterTablePlaceHolder />,
}}
pagination={false}
rowKey="name"
rowKey={(record) => record.name.concat(record.timestamp as string)}
/>
);
};

View File

@ -16,7 +16,7 @@ import { StatusType } from '../generated/entity/data/pipeline';
export const MenuOptions = {
all: 'All',
[StatusType.Successful]: 'Success',
[StatusType.Failed]: 'Failure',
[StatusType.Failed]: 'Failed',
[StatusType.Pending]: 'Pending',
Aborted: 'Aborted',
};