This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git
The following commit(s) were added to refs/heads/main by this push:
new e02d02b5 [Bugfix] Fix missing create time and update time for editing
table data (#506)
e02d02b5 is described below
commit e02d02b57f1b5bf268a60012ab279a9b22254d52
Author: yangyang zhong <[email protected]>
AuthorDate: Thu Jul 11 23:03:28 2024 +0800
[Bugfix] Fix missing create time and update time for editing table data
(#506)
---
paimon-web-ui/src/views/system/cluster/index.tsx | 3 ---
paimon-web-ui/src/views/system/user/index.tsx | 4 ----
2 files changed, 7 deletions(-)
diff --git a/paimon-web-ui/src/views/system/cluster/index.tsx
b/paimon-web-ui/src/views/system/cluster/index.tsx
index ff2862d4..bec220cd 100644
--- a/paimon-web-ui/src/views/system/cluster/index.tsx
+++ b/paimon-web-ui/src/views/system/cluster/index.tsx
@@ -157,9 +157,6 @@ export default defineComponent({
async function handleUpdateModal(cluster: ClusterDTO) {
formType.value = 'update'
- delete cluster.createTime
- delete cluster.updateTime
-
formValue.value = { ...cluster }
formVisible.value = true
}
diff --git a/paimon-web-ui/src/views/system/user/index.tsx
b/paimon-web-ui/src/views/system/user/index.tsx
index 5d1f6004..d9c1fd78 100644
--- a/paimon-web-ui/src/views/system/user/index.tsx
+++ b/paimon-web-ui/src/views/system/user/index.tsx
@@ -116,10 +116,6 @@ export default defineComponent({
async function handleUpdateModal(user: UserDTO) {
formType.value = 'update'
- delete user.createTime
- delete user.updateTime
- delete user.roles
-
formValue.value = { ...user }
formVisible.value = true
}