[editor] Open correct mini browser tab depending on the type of query
@@ -597,7 +597,7 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
<ul data-bind="visible: jobs().length > 0, foreach: jobs" class="unstyled jobs-overlay">
<li data-bind="attr: {'id': $data.name.substr(4)}">
%if is_embeddable:
- <a class="pointer" data-bind="text: $.trim($data.name), click: function() { huePubSub.publish('show.jobs.panel', {id: $data.name, interface: 'queries'}); }, clickBubble: false"></a>
+ <a class="pointer" data-bind="text: $.trim($data.name), click: function() { huePubSub.publish('show.jobs.panel', {id: $data.name, interface: $parent.type() == 'impala' ? 'queries' : 'jobs'}); }, clickBubble: false"></a>
%else:
<a data-bind="text: $.trim($data.name), hueLink: $data.url"></a>
%endif
