Skip to content

Commit

Permalink
Removed uncessesary none
Browse files Browse the repository at this point in the history
  • Loading branch information
clr-li committed Mar 20, 2024
1 parent 9be7225 commit b69fe85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/components/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class Table extends Component {
for (const [key, value] of Object.entries(JSON.parse(customHeaders))) {
html += `<th class="cell" style="min-width: max-content; text-wrap: nowrap;" data-csv="${sanitizeText(
key,
)}" data-tag="None">${sanitizeText(key)}</th>`;
)}">${sanitizeText(key)}</th>`;
}
// Event headers
for (let i = 0; i < events.length; i++) {
Expand Down Expand Up @@ -570,7 +570,6 @@ export class Table extends Component {
showCell = showCell && cell.dataset.name === eventName;
}
if (eventTag) {
console.log(cell.dataset.csv, cell.dataset.tag);
showCell = showCell && cell.dataset.tag === eventTag;
}
if (showCell) {
Expand Down

0 comments on commit b69fe85

Please sign in to comment.