Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit be6c0d2

Browse filesBrowse files
author
Sean
authored
Hide patterns by default (seanprashad#28)
* Hide patterns by default Fixes seanprashad#25 * Remove useRef import
1 parent 46c7b00 commit be6c0d2
Copy full SHA for be6c0d2

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed

‎src/components/Table/index.js

Copy file name to clipboardExpand all lines: src/components/Table/index.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ const Table = () => {
5454
return (
5555
<input
5656
type="checkbox"
57-
className="checkbox"
58-
name={cellInfo.row.original.name}
5957
checked={checked[cellInfo.row.original.id]}
6058
onChange={() => {
6159
checked[cellInfo.row.original.id] = !checked[
@@ -116,7 +114,7 @@ const Table = () => {
116114
.map(pattern => {
117115
return (
118116
<Badge key={pattern} className={pattern} pill>
119-
{pattern}
117+
{checked[cellInfo.row.original.id] ? pattern : '***'}
120118
</Badge>
121119
);
122120
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.