fix: data quality ui issues mentioned in #9819 (#9858)

This commit is contained in:
karanh37 2023-01-24 15:05:05 +05:30 committed by GitHub
parent 33090c149e
commit cf7cee0752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -186,7 +186,7 @@ const CronEditor: FC<CronEditorProp> = (props) => {
event: React.ChangeEvent<HTMLSelectElement>,
key: string
) => {
const value = event.target.value;
const value = parseInt(event.target.value);
const obj = { [key]: value };
const { selectedDayOption } = state;
@ -200,7 +200,8 @@ const CronEditor: FC<CronEditorProp> = (props) => {
key: string
) => {
const value = event.target.value || event.target.dataset.value;
const obj = { [key]: value };
const numberValue = value ? parseInt(value) : '';
const obj = { [key]: numberValue };
const { selectedWeekOption } = state;
const weekOption = Object.assign({}, selectedWeekOption, obj);

View File

@ -307,7 +307,7 @@ const TestSuiteDetailsPage = () => {
<>
{testSuitePermissions.ViewAll || testSuitePermissions.ViewBasic ? (
<PageContainerV1>
<Row className="tw-px-6 tw-w-full">
<Row className="tw-pt-4 tw-px-6 tw-w-full">
<Col span={24}>
<TestSuiteDetails
descriptionHandler={descriptionHandler}