From 22af2e4c11ad54be7cef601060962ef9eb7a54d2 Mon Sep 17 00:00:00 2001 From: Amardeepsingh Siglani Date: Wed, 11 Jan 2023 00:38:35 +0530 Subject: [PATCH 1/2] create detector if mapping creation succeeds Signed-off-by: Amardeepsingh Siglani --- .../containers/CreateDetector.tsx | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/public/pages/CreateDetector/containers/CreateDetector.tsx b/public/pages/CreateDetector/containers/CreateDetector.tsx index 6a782e9b5..ce0eda4a4 100644 --- a/public/pages/CreateDetector/containers/CreateDetector.tsx +++ b/public/pages/CreateDetector/containers/CreateDetector.tsx @@ -117,23 +117,25 @@ export default class CreateDetector extends Component Date: Wed, 11 Jan 2023 01:47:55 +0530 Subject: [PATCH 2/2] updated creation api call sequence Signed-off-by: Amardeepsingh Siglani --- public/pages/CreateDetector/containers/CreateDetector.tsx | 4 ++-- public/utils/validation.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/pages/CreateDetector/containers/CreateDetector.tsx b/public/pages/CreateDetector/containers/CreateDetector.tsx index c81f1fee0..f3e49d939 100644 --- a/public/pages/CreateDetector/containers/CreateDetector.tsx +++ b/public/pages/CreateDetector/containers/CreateDetector.tsx @@ -116,8 +116,8 @@ export default class CreateDetector extends Component