Skip to content

Commit

Permalink
update button style
Browse files Browse the repository at this point in the history
  • Loading branch information
xxzuo committed Apr 24, 2024
1 parent 13de46a commit eb98fb3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions datavines-ui/src/locale/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,5 @@ export default {
quality_dashboard_failure_execution: 'Fail Check',

next_ten_cron_run_times: 'Next ten cron run times',
view_future_execute_plan: 'view future execute plan',
};
1 change: 1 addition & 0 deletions datavines-ui/src/locale/zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,5 @@ export default {
quality_dashboard_failure_execution: '失败作业',

next_ten_cron_run_times: '未来十次执行时间',
view_future_execute_plan: '查看未来执行计划',
};
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
} from 'antd';
import useRequiredRule from '@Editor/hooks/useRequiredRule';
import dayjs from 'dayjs';
import { EyeOutlined } from '@ant-design/icons';
import { CustomSelect, useMount, useLoading } from '@/common';
import PageContainer from '../../useAddEditJobsModal/PageContainer';
import { pickProps } from '@/utils';
Expand Down Expand Up @@ -335,11 +334,11 @@ const Schedule: React.FC<ScheduleProps> = ({ formRef, detail }) => {
{detail?.cronExpression}
<Button
type="primary"
shape="circle"
size="small"
icon={<EyeOutlined />}
onClick={() => calculateFutureCronRunTimes(detail?.cronExpression)}
/>
>
{intl.formatMessage({ id: 'view_future_execute_plan' })}
</Button>
</Space>
</div>
</Form.Item>
Expand Down Expand Up @@ -370,11 +369,11 @@ const Schedule: React.FC<ScheduleProps> = ({ formRef, detail }) => {
<Col>
<Button
type="primary"
shape="circle"
size="small"
icon={<EyeOutlined />}
onClick={() => calculateFutureCronRunTimes(customCronExpression)}
/>
>
{intl.formatMessage({ id: 'view_future_execute_plan' })}
</Button>
</Col>
</Row>
);
Expand Down

0 comments on commit eb98fb3

Please sign in to comment.