ソースを参照

HUE-2727 [spark] Ignore sessions without properties in the settings modal

(cherry picked from commit 80f5b625221de2f4675eae00c3b1ff1b4510a466)
Johan Ahlen 10 年 前
コミット
ea347be
1 ファイル変更2 行追加2 行削除
  1. 2 2
      apps/spark/src/spark/templates/editor.mako

+ 2 - 2
apps/spark/src/spark/templates/editor.mako

@@ -709,8 +709,8 @@ ${ commonheader(_('Query'), app_name, user, "68px") | n,unicode }
           <fieldset>
             <legend><i class="fa fa-cloud"></i> ${ _('Sessions') }</legend>
             <!-- ko foreach: sessions -->
-            <h4 data-bind="text: $root.getSnippetName($data.type())" style="clear:left;"></h4>
-            <!-- ko with: properties -->
+            <!-- ko with: $data.properties -->
+            <h4 data-bind="text: $root.getSnippetName($parent.type())" style="clear:left;"></h4>
             <div class="control-group" style="float: left;">
               <label class="control-label">${_('Executor Cores')}</label>
               <div class="controls">