From 10cffd5c6fd997f0696231c395ee5423d3d219cd Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 22 Oct 2024 12:13:44 +0200 Subject: [PATCH] remove all values --- interface/src/app/main/Help.tsx | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/interface/src/app/main/Help.tsx b/interface/src/app/main/Help.tsx index 868b2aea4..6c8f6f26b 100644 --- a/interface/src/app/main/Help.tsx +++ b/interface/src/app/main/Help.tsx @@ -51,19 +51,19 @@ const Help = () => { } }); - const { send: sendExportAllValues } = useRequest( - () => callAction({ action: 'export', param: 'allvalues' }), - { - immediate: false - } - ) - .onSuccess((event) => { - saveFile(event.data, 'allvalues', '.txt'); - toast.info(LL.DOWNLOAD_SUCCESSFUL()); - }) - .onError((error) => { - toast.error(error.message); - }); + // const { send: sendExportAllValues } = useRequest( + // () => callAction({ action: 'export', param: 'allvalues' }), + // { + // immediate: false + // } + // ) + // .onSuccess((event) => { + // saveFile(event.data, 'allvalues', '.txt'); + // toast.info(LL.DOWNLOAD_SUCCESSFUL()); + // }) + // .onError((error) => { + // toast.error(error.message); + // }); const { send: sendAPI } = useRequest((data: APIcall) => API(data), { immediate: false @@ -162,11 +162,11 @@ const Help = () => { color="primary" onClick={() => sendAPI({ device: 'system', cmd: 'info', id: 0 })} > - {LL.DOWNLOAD(1)} {LL.SUPPORT_INFORMATION(0)} + {LL.SUPPORT_INFORMATION(0)} - + */}