Skip to content

Commit

Permalink
fix: fix code review
Browse files Browse the repository at this point in the history
  • Loading branch information
siriuswh0327 committed Oct 23, 2023
1 parent 8b6369a commit 60cbbdd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const SyncTaskForm: React.FC<SyncTaskFormProps> = ({
const [dbType, setDbType] = useState('');
const [source, setSource] = useState('');
const {
loading: getTaskSourceListLoading,
updateTaskSourceList,
generateTaskSourceSelectOption,
generateTaskSourceDbTypesSelectOption
Expand Down Expand Up @@ -173,6 +174,7 @@ const SyncTaskForm: React.FC<SyncTaskFormProps> = ({
<BasicSelect
disabled={isUpdate}
allowClear
loading={getTaskSourceListLoading}
placeholder={t('common.form.placeholder.select', {
name: t('dmsSyncDataSource.syncTaskForm.source')
})}
Expand Down
2 changes: 1 addition & 1 deletion packages/sqle/src/page/Home/DBAPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const DBAPanel: React.FC<IDBAPanelProps> = ({
page_index: 1,
page_size: DASHBOARD_COMMON_GET_ORDER_NUMBER,
filter_status: filterStatus,
filter_create_user_id: uid,
filter_current_step_assignee_user_id: uid,
project_name: projectName
};
return handleTableRequestError(workflow.getWorkflowsV1(params));
Expand Down
2 changes: 1 addition & 1 deletion packages/sqle/src/page/Home/DEVPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const DEVPanel: React.FC<IDEVPanelProps> = ({
const params: IGetWorkflowsV1Params = {
page_index: 1,
page_size: DASHBOARD_COMMON_GET_ORDER_NUMBER,
filter_current_step_assignee_user_id: uid,
filter_create_user_id: uid,
filter_status: filterStatus,
project_name: projectName
};
Expand Down

0 comments on commit 60cbbdd

Please sign in to comment.