소스 검색

AMBARI-20817. First node in the visual explain chart is not clickable to view the json dump (pallavkul)

pallavkul 8 년 전
부모
커밋
84d100e602
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js

+ 2 - 1
contrib/views/hive20/src/main/resources/ui/app/utils/hive-explainer/renderer.js

@@ -138,7 +138,8 @@ function recurseC(children, onRequestDetail, isSingleReducer) {
         .attr('height', d => d._operator === 'Fetch Operator' ? 150 : 55)
         .attr('height', d => d._operator === 'Fetch Operator' ? 150 : 55)
         .attr('width', 140)
         .attr('width', 140)
           .append('xhtml:body')
           .append('xhtml:body')
-        .style('margin', 0)
+        .style('height', d => d._operator === 'Fetch Operator' ? '150px' : 'auto')
+        .style('margin', 0 )
           .html(d => getRenderer(d._operator, isSingleReducer)(d))
           .html(d => getRenderer(d._operator, isSingleReducer)(d))
         .on('click', d => {
         .on('click', d => {
           const vertex = d3.select(Ember.$(d3.select(this).node()).closest('.vertex').get(0)).data()[0];
           const vertex = d3.select(Ember.$(d3.select(this).node()).closest('.vertex').get(0)).data()[0];