diff --git a/package.json b/package.json index 21c21968..db1d8748 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/dhis2/event-reports-app#readme", "dependencies": { - "d2-analysis": "^33.2.28", + "d2-analysis": "^33.3.0", "d2-utilizr": "0.2.13" }, "devDependencies": { diff --git a/src/ui/DownloadButtonItems.js b/src/ui/DownloadButtonItems.js index b8b5f1d8..c766abc1 100644 --- a/src/ui/DownloadButtonItems.js +++ b/src/ui/DownloadButtonItems.js @@ -27,6 +27,7 @@ DownloadButtonItems = function(refs, layout) { { text: 'HTML (.html)', iconCls: 'ns-menu-item-tablelayout', + cls: 'push-analytics-download-as-html-menu-item', handler: function() { uiManager.openTableLayoutTab(layout, 'html+css', true); } diff --git a/yarn.lock b/yarn.lock index 7f0e2601..31a2b534 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1734,10 +1734,10 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" -d2-analysis@^33.2.28: - version "33.2.28" - resolved "https://registry.yarnpkg.com/d2-analysis/-/d2-analysis-33.2.28.tgz#98a04478091222726a231f268f11b9a61dc5689e" - integrity sha512-brIVNQ5dOgSDACqs/2uDfH7Ro0oOGKAO+GXm0z6NaLrMsVj9aL/VJUkTAJ6bjach+xVoWvLd4U0PPkmyksjtAA== +d2-analysis@^33.3.0: + version "33.3.0" + resolved "https://registry.yarnpkg.com/d2-analysis/-/d2-analysis-33.3.0.tgz#049a2f6768dba638033c3229ce271cd3b7551373" + integrity sha512-hR0nHonqtWJfFs2AyGoqu/MWZFMZHDxkaX0p8uTScAhausaqTzYvn5x29NbuhUGctEb/vlLPzyAoD087qXOEAA== dependencies: "@dhis2/d2-ui-rich-text" "^5.1.0" d2-utilizr "^0.2.16"