Browse Source

Merge pull request #157 from marceldegraaf/master

Fixes issue #151
Rashid Khan 12 năm trước cách đây
mục cha
commit
0803ed1baa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      panels/table/module.js

+ 1 - 1
panels/table/module.js

@@ -269,7 +269,7 @@ angular.module('kibana.table', [])
 })
 .filter('highlight', function() {
   return function(text) {
-    if (text.toString().length > 0 && !_.isUndefined(text) && !_.isNull(text)) {
+    if (!_.isUndefined(text) && !_.isNull(text) && text.toString().length > 0) {
       return text.toString().
         replace(/&/g, '&').
         replace(/</g, '&lt;').