Skip to content

Commit

Permalink
change download data format
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine committed Dec 20, 2021
1 parent 702c73d commit 8a21614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/lib/apps/ContinuousProfiling/pages/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default function Page() {
}

if (action === 'download') {
window.location.href = `${client.getBasePath()}/continuous_profiling/download?token=${token}`
window.location.href = `${client.getBasePath()}/continuous_profiling/download?token=${token}&data_format=protobuf`
return
}
}
Expand All @@ -185,7 +185,7 @@ export default function Page() {
if (!token) {
return
}
window.location.href = `${client.getBasePath()}/continuous_profiling/download?token=${token}`
window.location.href = `${client.getBasePath()}/continuous_profiling/download?token=${token}&data_format=protobuf`
}, [ts])

return (
Expand Down

0 comments on commit 8a21614

Please sign in to comment.