Explorar o código

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

Johan Ahlen %!s(int64=8) %!d(string=hai) anos
pai
achega
b76eb3bb7d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,