From 3ebe9854635e6fc73f452c851a10b02183830b9d Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Tue, 20 Dec 2022 12:05:25 +0530 Subject: [PATCH] UI: Fixed test case value preserve issue and test case graph improvement (#9409) --- .../AddDataQualityTest/components/TestCaseForm.tsx | 1 + .../ProfilerDashboard/component/TestSummary.tsx | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddDataQualityTest/components/TestCaseForm.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AddDataQualityTest/components/TestCaseForm.tsx index 3b56e9bb796..7eb54e972d8 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddDataQualityTest/components/TestCaseForm.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddDataQualityTest/components/TestCaseForm.tsx @@ -241,6 +241,7 @@ const TestCaseForm: React.FC = ({ form={form} layout="vertical" name="tableTestForm" + preserve={false} onFinish={handleFormSubmit} onValuesChange={handleValueChange}> = ({ data }) => { return ( - + {isLoading ? ( ) : ( @@ -232,7 +233,11 @@ const TestSummary: React.FC = ({ data }) => { right: 8, }}> - + axisTickFormatter(value)} + /> {data.parameterValues?.length === 2 && referenceArea()} @@ -258,7 +263,7 @@ const TestSummary: React.FC = ({ data }) => { )} - + Name: