Skip to content

Commit

Permalink
PullRequest: 542 Fixes oceanbase/odc#3578
Browse files Browse the repository at this point in the history
Merge branch 'fix-dev-4.3.2-3578 of [email protected]:oceanbase/oceanbase-developer-center.git into dev-4.3.2

https://code.alipay.com/oceanbase/oceanbase-developer-center/pull_requests/542


Signed-off-by: 晓康 <[email protected]>


* Fixes oceanbase/odc#3578
* fixes fetch thie api of task list in schedule
* fixes fetch thie api of task list in schedule
  • Loading branch information
yezaoshu committed Sep 26, 2024
1 parent 08215b6 commit 480bbad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ const CreateModal: React.FC<IProps> = (props) => {
name="basic"
initialValues={{
triggerStrategy: TaskExecStrategy.START_NOW,
databaseId: logicDatabaseInfo?.databaseId,
}}
layout="vertical"
requiredMark="optional"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ const TaskExecuteRecord: React.FC<IProps> = (props) => {
};
/* 逻辑库变更是永远只有一个flow的调度任务, 逻辑库交互上少了flow列表这一层的话需要自己拿第一个结果的id查 */
useEffect(() => {
if (flowList?.contents?.length) {
if (flowList?.contents?.length && isLogicalDbChangeTask(task?.type)) {
const taskId = task?.id;
const flowId = flowList?.contents?.[0]?.id;
getSubTasks(taskId, flowId);
Expand Down

0 comments on commit 480bbad

Please sign in to comment.