Skip to content

Commit

Permalink
Fix timestamp unselected bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ckitsanelis committed Jan 19, 2024
1 parent ba540c8 commit d1555f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/viewer/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ export default class App extends React.Component<Props, State> {
for (let h = 0; h < logFile.headers.length; h++) {
let headerType = StructureHeaderColumnType.Selected;

if (logFile.headers[h].name.toLowerCase() === "timestamp") {
const cleanHeader = logFile.headers[h].name.toLowerCase().replace(/[\u200B-\u200D\uFEFF]/g, '');
if (cleanHeader === "timestamp") {
headerType = StructureHeaderColumnType.Unselected;
}
if (!logFile.contentHeaders.includes(logFile.headers[h].name)) {
Expand Down

0 comments on commit d1555f4

Please sign in to comment.