fix: formatDate working with timezone code

This commit is contained in:
Sérgio Salgado 2021-05-25 08:43:58 +01:00 committed by Josh Harvey
parent 0429563e42
commit 78a4c9f267
8 changed files with 17 additions and 25 deletions

View file

@ -134,7 +134,10 @@ const LogsDownloaderPopover = ({ name, query, args, title, getLogs }) => {
const [range, setRange] = useState({ from: null, until: null })
const [anchorEl, setAnchorEl] = useState(null)
const [fetchLogs] = useLazyQuery(query, {
onCompleted: data => createLogsFile(getLogs(data), range)
onCompleted: data => {
console.log(data)
return createLogsFile(getLogs(data), range)
}
})
const classes = useStyles()