From d1555f492f8663a7cbd1be67bab9b79b1f862eee Mon Sep 17 00:00:00 2001 From: ckitsanelis Date: Fri, 19 Jan 2024 21:18:03 +0100 Subject: [PATCH] Fix timestamp unselected bug --- src/viewer/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/viewer/App.tsx b/src/viewer/App.tsx index 45843c0..2ad23ee 100644 --- a/src/viewer/App.tsx +++ b/src/viewer/App.tsx @@ -162,7 +162,8 @@ export default class App extends React.Component { 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)) {