Skip to content

Commit

Permalink
Fix: some pipelines UI fixes (SigNoz#4112)
Browse files Browse the repository at this point in the history
* fix: log pipelines: change incorrect placeholder for  fields

* fix: incorrect timestamp display in logs preview output
  • Loading branch information
raj-k-singh committed Nov 29, 2023
1 parent 381f497 commit ae3b604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/public/locales/en/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"processor_name_placeholder": "Name",
"processor_regex_placeholder": "Regex",
"processor_parsefrom_placeholder": "Parse From",
"processor_parseto_placeholder": "Parse From",
"processor_parseto_placeholder": "Parse To",
"processor_onerror_placeholder": "on Error",
"processor_pattern_placeholder": "Pattern",
"processor_field_placeholder": "Field",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function LogsList({ logs }: LogsListProps): JSX.Element {
{logs.map((log) => (
<div key={log.id} className="logs-preview-list-item">
<div className="logs-preview-list-item-timestamp">
{dayjs(String(log.timestamp)).format('MMM DD HH:mm:ss.SSS')}
{dayjs(log.timestamp).format('MMM DD HH:mm:ss.SSS')}
</div>
<div className="logs-preview-list-item-body">{log.body}</div>
<div
Expand Down

0 comments on commit ae3b604

Please sign in to comment.