Skip to content

Commit e4f9087

Browse files
authored
feat: use InfluxDB CLI wizard on Load Data page (#6156)
1 parent 2a5e29f commit e4f9087

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/writeData/components/FileUploadSection.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ const FileUploadSection = () => {
5656
{items.map(item => {
5757
const goto = () => {
5858
event('Load data file upload clicked', {type: item.name})
59-
history.push(
59+
if (item.id === 'csv') {
60+
return history.push(`/${ORGS}/${org.id}/new-user-setup/cli`)
61+
}
62+
return history.push(
6063
`/${ORGS}/${org.id}/load-data/${FILE_UPLOAD}/${item.id}`
6164
)
6265
}

0 commit comments

Comments
 (0)