This is an automated email from the ASF dual-hosted git repository.

czy006 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new bdd5f5816 [AMORO-4368][Dashboard] Fix Tables menu navigation after 
viewing Hive tables (#4369)
bdd5f5816 is described below

commit bdd5f5816676f7938c379c24fad449bec19454a6
Author: csurong <[email protected]>
AuthorDate: Fri Sep 11 15:01:37 2026 +0800

    [AMORO-4368][Dashboard] Fix Tables menu navigation after viewing Hive 
tables (#4369)
    
    [Bugfix][Dashboard] Return to the table list from the Tables menu
---
 amoro-web/src/components/Sidebar.vue | 33 +--------------------------------
 1 file changed, 1 insertion(+), 32 deletions(-)

diff --git a/amoro-web/src/components/Sidebar.vue 
b/amoro-web/src/components/Sidebar.vue
index f5cf27526..8c9c6646d 100644
--- a/amoro-web/src/components/Sidebar.vue
+++ b/amoro-web/src/components/Sidebar.vue
@@ -143,38 +143,7 @@ export default defineComponent({
 
     const navClick = (item: MenuItem) => {
       if (item.key === 'tables') {
-        let catalog: string | undefined
-        let db: string | undefined
-        let tableName: string | undefined
-
-        try {
-          const stored = localStorage.getItem('easylake-menu-catalog-db-table')
-          if (stored) {
-            const parsed = JSON.parse(stored) as { catalog?: string; 
database?: string; tableName?: string }
-            catalog = parsed.catalog
-            db = parsed.database
-            tableName = parsed.tableName
-          }
-        }
-        catch (e) {
-          // ignore localStorage read/parse errors
-        }
-
-        if (catalog && db && tableName) {
-          router.replace({
-            path: '/tables',
-            query: {
-              catalog,
-              db,
-              table: tableName,
-            },
-          })
-        }
-        else {
-          router.replace({
-            path: '/tables',
-          })
-        }
+        router.replace({ path: '/tables', query: {} })
 
         nextTick(() => {
           setCurMenu()

Reply via email to