This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new bf85ede03 fix(config-ui): collect data interface paramter error (#5495)
bf85ede03 is described below
commit bf85ede035d85ace42d05ab9d580d6b159bfc803
Author: 青湛 <[email protected]>
AuthorDate: Thu Jun 15 17:54:44 2023 +0800
fix(config-ui): collect data interface paramter error (#5495)
* chore(config-ui): clear lint warning
* fix(config-ui): collect data interface paramter error
---
config-ui/src/pages/blueprint/detail/configuration-panel.tsx | 2 +-
config-ui/src/utils/request.ts | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/config-ui/src/pages/blueprint/detail/configuration-panel.tsx
b/config-ui/src/pages/blueprint/detail/configuration-panel.tsx
index d29f5c7ad..456b46c8b 100644
--- a/config-ui/src/pages/blueprint/detail/configuration-panel.tsx
+++ b/config-ui/src/pages/blueprint/detail/configuration-panel.tsx
@@ -107,7 +107,7 @@ export const ConfigurationPanel = ({ from, blueprint,
onRefresh }: Props) => {
};
const handleRun = async () => {
- const [success] = await operator(() => API.runBlueprint(blueprint.id,
true), {
+ const [success] = await operator(() => API.runBlueprint(blueprint.id,
false), {
setOperating,
formatMessage: () => 'Trigger blueprint successful.',
});
diff --git a/config-ui/src/utils/request.ts b/config-ui/src/utils/request.ts
index d08301836..dc76d4495 100644
--- a/config-ui/src/utils/request.ts
+++ b/config-ui/src/utils/request.ts
@@ -21,7 +21,6 @@ import axios from 'axios';
import { history } from '@/utils/history';
import { DEVLAKE_ENDPOINT } from '@/config';
-import { toast } from '@/components/toast';
const instance = axios.create({
baseURL: DEVLAKE_ENDPOINT,