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:
Rafael Taranto 2022-02-02 18:16:20 +00:00 committed by GitHub
commit eb67f3f8a5

View file

@ -146,8 +146,8 @@ const DetailsRow = ({ it: tx, timezone }) => {
''
}
const from = sub({ minutes: MINUTES_OFFSET }, tx.created)
const until = add({ minutes: MINUTES_OFFSET }, tx.created)
const from = sub({ minutes: MINUTES_OFFSET }, new Date(tx.created))
const until = add({ minutes: MINUTES_OFFSET }, new Date(tx.created))
const downloadRawLogs = ({ id: txId, deviceId, txClass }, timezone) => {
fetchSummary({