Skip to content

Commit

Permalink
PullRequest: 518 fix(): reload list when close task detail
Browse files Browse the repository at this point in the history
Merge branch 'fix/dev-4.3.1-executeReload of [email protected]:oceanbase/oceanbase-developer-center.git into dev-4.3.1

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


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


* fix(): reload list when close task detail
* fix(): reload list after execute task
  • Loading branch information
yezaoshu committed Sep 2, 2024
1 parent 00ca49d commit 8efe4e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/Task/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const TaskManaerContent: React.FC<IProps> = (props) => {
const { detailId, detailType, detailVisible, cycleTasks, tasks } = state;
const taskList = isCycleTaskPage(taskTabType) ? cycleTasks : tasks;
const theme = isSqlworkspace ? null : 'vs';
const tableRef = React.createRef<ITableInstance>();
const tableRef = useRef<ITableInstance>();

const TaskEventMap = {
[TaskPageType.IMPORT]: () => modalStore.changeImportModal(true),
Expand Down
1 change: 1 addition & 0 deletions src/component/Task/component/ActionBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ const ActionBar: React.FC<IProps> = inject(
//执行成功
);
closeTaskDetail();
props?.onReloadList?.();
}
};

Expand Down

0 comments on commit 8efe4e7

Please sign in to comment.