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 26f65f3f [Bugfix] Fix inconsistent modal box names (#311)
26f65f3f is described below

commit 26f65f3f3386fec4635fbbb754d0451760fc2956
Author: s7monk <[email protected]>
AuthorDate: Thu Jun 6 17:05:51 2024 +0800

    [Bugfix] Fix inconsistent modal box names (#311)
---
 .../src/views/system/cluster/components/cluster-form/index.tsx          | 2 +-
 paimon-web-ui/src/views/system/user/components/user-form/index.tsx      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/paimon-web-ui/src/views/system/cluster/components/cluster-form/index.tsx 
b/paimon-web-ui/src/views/system/cluster/components/cluster-form/index.tsx
index b1bf9b2d..7484d7e9 100644
--- a/paimon-web-ui/src/views/system/cluster/components/cluster-form/index.tsx
+++ b/paimon-web-ui/src/views/system/cluster/components/cluster-form/index.tsx
@@ -117,7 +117,7 @@ export default defineComponent({
   render() {
     return (
       <n-modal v-model:show={this.visible} mask-closable={false}>
-        <n-card bordered={false} title={this.t(this.formType === 'create' ? 
'system.role.create' : 'system.role.update')} style="width: 600px">
+        <n-card bordered={false} title={this.t(this.formType === 'create' ? 
'system.cluster.create' : 'system.cluster.update')} style="width: 600px">
           {{
             default: () => (
               <n-form
diff --git a/paimon-web-ui/src/views/system/user/components/user-form/index.tsx 
b/paimon-web-ui/src/views/system/user/components/user-form/index.tsx
index 70f9ab67..80864d02 100644
--- a/paimon-web-ui/src/views/system/user/components/user-form/index.tsx
+++ b/paimon-web-ui/src/views/system/user/components/user-form/index.tsx
@@ -130,7 +130,7 @@ export default defineComponent({
   render() {
     return (
       <n-modal v-model:show={this.visible} mask-closable={false}>
-        <n-card bordered={false} title={this.t(this.formType === 'create' ? 
'system.role.create' : 'system.role.update')} style="width: 600px">
+        <n-card bordered={false} title={this.t(this.formType === 'create' ? 
'system.user.create' : 'system.user.update')} style="width: 600px">
           {{
             default: () => (
               <n-form

Reply via email to