@@ -306,7 +306,7 @@ def describe_table(request, database, table):
LOG.exception("Describe table error")
raise PopupException(_("DB Error"), detail=e.message if hasattr(e, 'message') and e.message else e)
- if request.GET.get("format", "html") == "json":
+ if request.POST.get("format", "html") == "json":
return JsonResponse({
'status': 0,
'name': table.name,
@@ -246,7 +246,7 @@ ${ hueIcons.symbols() }
% if user.is_authenticated() and section != 'login' and (cluster != ANALYTIC_DB or IS_MULTICLUSTER_ONLY.get()):
<div class="dropdown navbar-dropdown pull-right">
% if IS_MULTICLUSTER_ONLY.get():
- ## <!-- ko component: { name: 'hue-app-switcher', params: { onPrem: ko.observable(false) } } --><!-- /ko -->
+ <!-- ko component: { name: 'hue-app-switcher', params: { onPrem: ko.observable(false) } } --><!-- /ko -->
% endif
<%