Browse Source

HUE-8330 [metastore] Fix issue where the table browser won't open a table from the URL if it's for the first namespace

(cherry picked from commit 1961887c571f19488664cba61c89f967c53f5716)
Johan Ahlen 7 years ago
parent
commit
1e84fd2108

+ 2 - 0
apps/metastore/src/metastore/static/metastore/js/metastore.ko.js

@@ -312,6 +312,8 @@ var MetastoreViewModel = (function () {
             } else {
             } else {
               sourceAndNamespaceDeferred.resolve();
               sourceAndNamespaceDeferred.resolve();
             }
             }
+          } else {
+            sourceAndNamespaceDeferred.resolve();
           }
           }
         });
         });
       }
       }