From 2565f13e35ac825aa88de86b344c31737528c84a Mon Sep 17 00:00:00 2001 From: gaoyan Date: Thu, 1 Feb 2024 16:47:18 +0800 Subject: [PATCH] [Fix]Fix task err pop Model (#3128) Co-authored-by: gaoyan1998 --- .../DataStudio/MiddleContainer/StudioEditor/constants.tsx | 3 ++- dinky-web/src/pages/DataStudio/MiddleContainer/index.tsx | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dinky-web/src/pages/DataStudio/MiddleContainer/StudioEditor/constants.tsx b/dinky-web/src/pages/DataStudio/MiddleContainer/StudioEditor/constants.tsx index fd7b3af421..f4a693d8d8 100644 --- a/dinky-web/src/pages/DataStudio/MiddleContainer/StudioEditor/constants.tsx +++ b/dinky-web/src/pages/DataStudio/MiddleContainer/StudioEditor/constants.tsx @@ -57,5 +57,6 @@ export const TASK_VAR_FILTER = [ 'databaseName', 'envName', 'alertGroupName', - 'variables' + 'variables', + 'alertGroup' ]; diff --git a/dinky-web/src/pages/DataStudio/MiddleContainer/index.tsx b/dinky-web/src/pages/DataStudio/MiddleContainer/index.tsx index f5b7254288..18ca90df37 100644 --- a/dinky-web/src/pages/DataStudio/MiddleContainer/index.tsx +++ b/dinky-web/src/pages/DataStudio/MiddleContainer/index.tsx @@ -27,10 +27,7 @@ import { isDataStudioTabsItemType, isMetadataTabsItemType } from '@/pages/DataStudio/function'; -import { - getBottomSelectKeyFromNodeClickJobType, - getRightSelectKeyFromNodeClickJobType -} from '@/pages/DataStudio/LeftContainer/Project/function'; +import { getRightSelectKeyFromNodeClickJobType } from '@/pages/DataStudio/LeftContainer/Project/function'; import { getTabIcon } from '@/pages/DataStudio/MiddleContainer/function'; import KeyBoard from '@/pages/DataStudio/MiddleContainer/KeyBoard'; import QuickGuide from '@/pages/DataStudio/MiddleContainer/QuickGuide';