فهرست منبع

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

Johan Ahlen 8 سال پیش
والد
کامیت
b76eb3b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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,