Преглед изворни кода

HUE-3978 [notebook] Backward compatibility for older notebooks

Romain Rigaux пре 9 година
родитељ
комит
21bd5c389d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1512,7 +1512,7 @@ ${ hueIcons.symbols() }
               <table class="table table-condensed table-striped resultTable">
                 <thead>
                 <tr data-bind="foreach: result.meta">
-                  <th data-bind="html: ($index() == 0 ? '&nbsp;' : $data.name), css: cssClass, attr: {'width': ($index() == 0 ? '1%' : ''), title: $data.type }"></th>
+                  <th data-bind="html: ($index() == 0 ? '&nbsp;' : $data.name), css: typeof cssClass != 'undefined' ? cssClass : 'sort-string', attr: {'width': ($index() == 0 ? '1%' : ''), title: $data.type }"></th>
                 </tr>
                 </thead>
                 <tbody>