From 7b0e3871c76478aabfd6696a8e7ac27339254299 Mon Sep 17 00:00:00 2001 From: henrikmv <110386561+henrikmv@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:02:43 +0200 Subject: [PATCH] feat: [DHIS-14012] removed download as XML button (#3434) --- i18n/en.pot | 3 --- .../DownloadDialog/DownloadDialog.component.js | 14 -------------- 2 files changed, 17 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index 2396905e88..3597cba560 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -1404,9 +1404,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 { -
- - - -