You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/10/30 20:31:47 UTC
(incubator-devlake) branch main updated: fix(configui): compatiable with backend (#6360)
This is an automated email from the ASF dual-hosted git repository.
mintsweet 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 4ed39ab6b fix(configui): compatiable with backend (#6360)
4ed39ab6b is described below
commit 4ed39ab6b852625b0773fe01eb735d55010dd41f
Author: Lynwee <li...@merico.dev>
AuthorDate: Tue Oct 31 04:31:44 2023 +0800
fix(configui): compatiable with backend (#6360)
---
config-ui/src/api/scope/types.ts | 2 +-
config-ui/src/pages/connection/detail/index.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/config-ui/src/api/scope/types.ts b/config-ui/src/api/scope/types.ts
index 07f8c4e6b..eb85c0388 100644
--- a/config-ui/src/api/scope/types.ts
+++ b/config-ui/src/api/scope/types.ts
@@ -17,7 +17,7 @@
*/
export type ListQuery = Pagination & {
- blueprint?: boolean;
+ blueprints?: boolean;
searchTerm?: string;
};
diff --git a/config-ui/src/pages/connection/detail/index.tsx b/config-ui/src/pages/connection/detail/index.tsx
index e040c82ca..9ac4eccc1 100644
--- a/config-ui/src/pages/connection/detail/index.tsx
+++ b/config-ui/src/pages/connection/detail/index.tsx
@@ -70,7 +70,7 @@ export const ConnectionDetailPage = () => {
const navigate = useNavigate();
const { setTips } = useTips();
const { ready, data } = useRefreshData(
- () => API.scope.list(plugin, connectionId, { page, pageSize, blueprint: true }),
+ () => API.scope.list(plugin, connectionId, { page, pageSize, blueprints: true }),
[version, page, pageSize],
);