Browse Source

HUE-6023 [metastore] Fix js error when loading tags in the metastore

Johan Ahlen 8 năm trước cách đây
mục cha
commit
b76eb3b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      desktop/core/src/desktop/templates/nav_components.mako

+ 1 - 1
desktop/core/src/desktop/templates/nav_components.mako

@@ -85,7 +85,7 @@ from django.utils.translation import ugettext as _
           apiHelper.fetchNavEntity({
             sourceType: ko.unwrap(params.sourceType),
             identifierChain: identifierChain,
-            isView: params.fetchedData() !== 'undefined' && params.fetchedData().is_view,
+            isView: typeof params.fetchedData !== 'undefined' && params.fetchedData().is_view,
             defaultDatabase: ko.unwrap(params.defaultDatabase),
             silenceErrors: true,
             noCache: true,