Merge pull request #1078 from josepfo/fix/empty-machine-and-server-logs-on-summary
fix: calculate date range for summary logs
This commit is contained in:
commit
eb67f3f8a5
1 changed files with 2 additions and 2 deletions
|
|
@ -146,8 +146,8 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
||||||
''
|
''
|
||||||
}
|
}
|
||||||
|
|
||||||
const from = sub({ minutes: MINUTES_OFFSET }, tx.created)
|
const from = sub({ minutes: MINUTES_OFFSET }, new Date(tx.created))
|
||||||
const until = add({ minutes: MINUTES_OFFSET }, tx.created)
|
const until = add({ minutes: MINUTES_OFFSET }, new Date(tx.created))
|
||||||
|
|
||||||
const downloadRawLogs = ({ id: txId, deviceId, txClass }, timezone) => {
|
const downloadRawLogs = ({ id: txId, deviceId, txClass }, timezone) => {
|
||||||
fetchSummary({
|
fetchSummary({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue