From f0c9cd11eeed4e26abe707f9995651a925fa9550 Mon Sep 17 00:00:00 2001 From: henrikmv Date: Fri, 6 Oct 2023 10:21:17 +0200 Subject: [PATCH] feat: removed download as XML button --- i18n/en.pot | 7 ++----- .../DownloadDialog/DownloadDialog.component.js | 14 -------------- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index e179d736a4..c421587c3c 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2023-09-04T07:07:59.195Z\n" -"PO-Revision-Date: 2023-09-04T07:07:59.195Z\n" +"POT-Creation-Date: 2023-10-06T08:03:19.570Z\n" +"PO-Revision-Date: 2023-10-06T08:03:19.570Z\n" msgid "Choose one or more dates..." msgstr "Choose one or more dates..." @@ -1353,9 +1353,6 @@ msgstr "Working list could not be loaded" msgid "Download as JSON" msgstr "Download as JSON" -msgid "Download as XML" -msgstr "Download as XML" - msgid "Download as CSV" msgstr "Download as CSV" diff --git a/src/core_modules/capture-core/components/WorkingLists/EventWorkingLists/ViewMenuSetup/DownloadDialog/DownloadDialog.component.js b/src/core_modules/capture-core/components/WorkingLists/EventWorkingLists/ViewMenuSetup/DownloadDialog/DownloadDialog.component.js index 4bd6010bcd..fc79445ce2 100644 --- a/src/core_modules/capture-core/components/WorkingLists/EventWorkingLists/ViewMenuSetup/DownloadDialog/DownloadDialog.component.js +++ b/src/core_modules/capture-core/components/WorkingLists/EventWorkingLists/ViewMenuSetup/DownloadDialog/DownloadDialog.component.js @@ -40,7 +40,6 @@ class DownloadDialogPlain extends PureComponent { renderButtons() { const { request = {}, absoluteApiPath, classes } = this.props; const url = `${absoluteApiPath}/${request.url}`; - const deprecatedUrl = `${absoluteApiPath}/events/query`; const { pageSize, page, ...paramsFromRequest } = request.queryParams || {}; const paramsObject = { ...paramsFromRequest, @@ -65,19 +64,6 @@ class DownloadDialogPlain extends PureComponent { -
- - - -