Преглед на файлове

HUE-8131 [assist] Use plain text for column sample titles in the context popover

Johan Ahlen преди 7 години
родител
ревизия
447e9d6d3a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      desktop/core/src/desktop/templates/ko_components/ko_catalog_entries_table.mako

+ 1 - 1
desktop/core/src/desktop/templates/ko_components/ko_catalog_entries_table.mako

@@ -129,7 +129,7 @@ from desktop.views import _ko
         </thead>
         <tbody data-bind="foreach: filteredColumnSamples">
           <tr>
-            <td class="sample-column" data-bind="html: $data, attr: { 'title': $data }"></td>
+            <td class="sample-column" data-bind="html: $data, attr: { 'title': hueUtils.html2text($data) }"></td>
           </tr>
         </tbody>
         <!-- ko if: filteredColumnSamples().length === 0 -->