You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by ni...@apache.org on 2023/12/14 11:00:31 UTC

(incubator-paimon-webui) branch main updated: [Bugfix] Fix rendering 0 of showing side (#118)

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/incubator-paimon-webui.git


The following commit(s) were added to refs/heads/main by this push:
     new eb84243  [Bugfix] Fix rendering 0 of showing side (#118)
eb84243 is described below

commit eb842437d11119709f87069157b46fff49db595f
Author: yangyang zhong <35...@users.noreply.github.com>
AuthorDate: Thu Dec 14 19:00:26 2023 +0800

    [Bugfix] Fix rendering 0 of showing side (#118)
---
 paimon-web-ui-new/src/layouts/content/index.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/paimon-web-ui-new/src/layouts/content/index.tsx b/paimon-web-ui-new/src/layouts/content/index.tsx
index 0a87796..23eb469 100644
--- a/paimon-web-ui-new/src/layouts/content/index.tsx
+++ b/paimon-web-ui-new/src/layouts/content/index.tsx
@@ -49,11 +49,11 @@ export default defineComponent({
             <NavBar headerMenuOptions={this.menuOptions}></NavBar>
           </n-layout-header>
           <n-layout has-sider position='absolute' style='top: 64px'>
-            {this.isShowSided && (
+            {this.isShowSided ? (
               <SideBar
                 sideMenuOptions={this.sideMenuOptions}
               />
-            )}
+            ):<></>}
             <n-layout-content content-style="height: calc(100vh - 64px);">
               <router-view />
             </n-layout-content>