Bladeren bron

HUE-5396 [spark] Hide extra add property dropdown

Romain Rigaux 8 jaren geleden
bovenliggende
commit
8c51399
1 gewijzigde bestanden met toevoegingen van 0 en 6 verwijderingen
  1. 0 6
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 0 - 6
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -578,16 +578,10 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
       </div>
       </div>
       <div style="clear:both; padding-left: 120px;">
       <div style="clear:both; padding-left: 120px;">
         <!-- ko if: availableNewProperties().length -->
         <!-- ko if: availableNewProperties().length -->
-        <select data-bind="options: availableNewProperties,
-                          optionsText: 'nice_name',
-                          optionsValue: 'name',
-                          value: selectedSessionProperty,
-                          optionsCaption: '${ _ko('Choose a property...') }'"></select>
         <a class="pointer" style="padding:5px;" data-bind="click: selectedSessionProperty() && function() {
         <a class="pointer" style="padding:5px;" data-bind="click: selectedSessionProperty() && function() {
                     properties.push(ko.mapping.fromJS({'name': selectedSessionProperty(), 'value': ''}));
                     properties.push(ko.mapping.fromJS({'name': selectedSessionProperty(), 'value': ''}));
                     selectedSessionProperty('');
                     selectedSessionProperty('');
                    }" style="margin-left:10px;vertical-align: text-top;">
                    }" style="margin-left:10px;vertical-align: text-top;">
-          <i class="fa fa-plus"></i>
         </a>
         </a>
         <!-- /ko -->
         <!-- /ko -->
       </div>
       </div>