Fix: some pipelines UI fixes (#4112)

* fix: log pipelines: change incorrect placeholder for  fields

* fix: incorrect timestamp display in logs preview output
This commit is contained in:
Raj Kamal Singh 2023-11-29 17:18:32 +05:30 committed by GitHub
parent 381f497b95
commit ae3b604cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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