fix(activity_feed): show integer milliseconds without decimal point
This commit is contained in:
parent
73daad48a5
commit
70718a53dc
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ defmodule Towerops.ActivityFeed do
|
|||
site_name: nil,
|
||||
summary: "Preseem sync #{status_label}",
|
||||
detail:
|
||||
"#{row.records_synced || 0} records synced#{if row.duration_ms, do: " in #{row.duration_ms}ms", else: ""}",
|
||||
"#{row.records_synced || 0} records synced#{if row.duration_ms, do: " in #{Decimal.to_integer(Decimal.round(row.duration_ms, 0))}ms", else: ""}",
|
||||
severity: sync_severity(row.status),
|
||||
icon: "hero-arrow-path",
|
||||
link: nil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue