diff --git a/webpack/devices/components/diagnostic_dump_row.tsx b/webpack/devices/components/diagnostic_dump_row.tsx index 87d1685867..ad292e8817 100644 --- a/webpack/devices/components/diagnostic_dump_row.tsx +++ b/webpack/devices/components/diagnostic_dump_row.tsx @@ -1,7 +1,7 @@ import * as React from "react"; import { Row, Col } from "../../ui"; import { TaggedDiagnosticDump } from "farmbot"; -import { jsonDownload } from "../../account/request_account_export"; +// import { jsonDownload } from "../../account/request_account_export"; import { destroy } from "../../api/crud"; import { ago } from "../connectivity/status_checks"; import { t } from "i18next"; @@ -18,13 +18,13 @@ export class DiagnosticDumpRow extends React.Component { destroy = () => this.props.dispatch(destroy(this.props.diag.uuid)); - download = (e: React.MouseEvent<{}>) => { - e.preventDefault(); - const { body } = this.props.diag; - const { ticket_identifier } = body; - const fileName = `farmbot_diagnostics_${ticket_identifier}.json`; - jsonDownload(body, fileName); - } + // download = (e: React.MouseEvent<{}>) => { + // e.preventDefault(); + // const { body } = this.props.diag; + // const { ticket_identifier } = body; + // const fileName = `farmbot_diagnostics_${ticket_identifier}.json`; + // jsonDownload(body, fileName); + // } render() { return