浏览代码

HUE-8888 [editor] Do not show no result message when filtering matches all values

In query result record popup viewer.
Romain 5 年之前
父节点
当前提交
ca356c56d9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/templates/common_header_footer_components.mako

+ 1 - 1
desktop/core/src/desktop/templates/common_header_footer_components.mako

@@ -344,8 +344,8 @@ from metadata.conf import has_optimizer, OPTIMIZER
 
     $('#rowDetailsModal .hue-modal-search').jHueDelayedInput(function () {
       var $t = $('#rowDetailsModal').find('table');
-      $('#rowDetailsModal .no-results').addClass('hide');
       $t.find('tr').removeClass('hide');
+      $('#rowDetailsModal .no-results').addClass('hide');
       var shown = 0;
       $t.find('tr').each(function () {
         if ($(this).text().toLowerCase().indexOf($('#rowDetailsModal .hue-modal-search').val().toLowerCase()) == -1) {