jqh 5 anni fa
parent
commit
42884d9dcd
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/Grid/Displayers/Copyable.php

+ 2 - 1
src/Grid/Displayers/Copyable.php

@@ -42,6 +42,7 @@ JS;
     <i class="fa fa-copy"></i>
 </a>&nbsp;{$this->value}
 HTML;
-        return $this->value ? $html : '-';
+
+        return $this->value === '' || $this->value === null ? $this->value : $html;
     }
 }