Browse Source

[Web] fix Spamfilter flag fwdhosts wrong naming

FreddleSpl0it 2 năm trước cách đây
mục cha
commit
152431a7d7
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      data/web/js/site/admin.js

+ 4 - 1
data/web/js/site/admin.js

@@ -331,7 +331,10 @@ jQuery(function($){
           {
             title: lang.spamfilter,
             data: 'keep_spam',
-            defaultContent: ''
+            defaultContent: '',
+            render: function(data, type){
+              return 'yes'==data?'<i class="bi bi-x-lg"></i>':'no'==data&&'<i class="bi bi-check-lg"></i>';
+            }
           },
           {
             title: lang.action,