فهرست منبع

HUE-3195 [metastore] When setting the table name in the URL it sometimes shows the list of databases

Johan Ahlen 9 سال پیش
والد
کامیت
940c887d37
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      apps/metastore/src/metastore/static/metastore/js/metastore.ko.js

+ 6 - 4
apps/metastore/src/metastore/static/metastore/js/metastore.ko.js

@@ -621,10 +621,12 @@
           setDatabaseByName(path[3]);
           break;
         case 'table':
-          loadTableDef({
-            name: path[4],
-            database: path[3]
-          });
+          window.setTimeout(function() {
+            loadTableDef({
+              name: path[4],
+              database: path[3]
+            });
+          }, 200);
           break;
       }
     }