This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new bb80bd9f8 [INLONG-5077][Dashboard] Cannot read properties of undefined
(reading 'version') (#5078)
bb80bd9f8 is described below
commit bb80bd9f84dd8953c656c22ae875a224ae20264a
Author: Daniel <[email protected]>
AuthorDate: Fri Jul 15 18:40:55 2022 +0800
[INLONG-5077][Dashboard] Cannot read properties of undefined (reading
'version') (#5078)
---
inlong-dashboard/src/pages/AccessDetail/Info/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inlong-dashboard/src/pages/AccessDetail/Info/index.tsx
b/inlong-dashboard/src/pages/AccessDetail/Info/index.tsx
index 433ce4d0b..97ceaeab8 100644
--- a/inlong-dashboard/src/pages/AccessDetail/Info/index.tsx
+++ b/inlong-dashboard/src/pages/AccessDetail/Info/index.tsx
@@ -57,7 +57,7 @@ const Comp = ({ inlongGroupId, readonly, isCreate }: Props,
ref) => {
const submitData = {
...values,
- version: data.version,
+ version: data?.version,
inCharges: values.inCharges?.join(','),
followers: values.followers?.join(','),
};