We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c7b00 commit be6c0d2Copy full SHA for be6c0d2
src/components/Table/index.js
@@ -54,8 +54,6 @@ const Table = () => {
54
return (
55
<input
56
type="checkbox"
57
- className="checkbox"
58
- name={cellInfo.row.original.name}
59
checked={checked[cellInfo.row.original.id]}
60
onChange={() => {
61
checked[cellInfo.row.original.id] = !checked[
@@ -116,7 +114,7 @@ const Table = () => {
116
114
.map(pattern => {
117
115
118
<Badge key={pattern} className={pattern} pill>
119
- {pattern}
+ {checked[cellInfo.row.original.id] ? pattern : '***'}
120
</Badge>
121
);
122
});
0 commit comments