Skip to content

Commit

Permalink
Merge pull request #441 from EyeSeeTea/development
Browse files Browse the repository at this point in the history
Release 1.0.5
  • Loading branch information
adrianq authored Apr 19, 2022
2 parents e7c58fa + aa676f2 commit 0554038
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2022-04-11T08:24:13.553Z\n"
"PO-Revision-Date: 2022-04-11T08:24:13.553Z\n"
"POT-Creation-Date: 2022-04-19T06:23:28.846Z\n"
"PO-Revision-Date: 2022-04-19T06:23:28.846Z\n"

msgid "Name"
msgstr ""
Expand Down Expand Up @@ -48,7 +48,7 @@ msgstr ""
msgid ""
"PLEASE NOTE: monthly % achieved dashboards are not functional in this "
"version of Platform, but plan to be restored by May 31. In the interim, "
"reach out to [email protected] if you need visibility on this data."
"reach out to {{recipients}} if you need visibility on this data."
msgstr ""

msgid "Cannot load dashboard"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "data-management-app",
"description": "DHIS2 Data Management App",
"version": "1.0.4",
"version": "1.0.5",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
Expand Down
6 changes: 3 additions & 3 deletions src/components/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface State {

const Dashboard: React.FC<DashboardProps> = props => {
const { id, name, backUrl } = props;
const { dhis2Url: baseUrl } = useAppContext();
const { dhis2Url: baseUrl, appConfig } = useAppContext();

// We must set a large initial height, otherwise only the top items of the dashboards are rendered.
const [state, setState] = React.useState<State>({ type: "loading", height: 10000 });
Expand All @@ -41,8 +41,8 @@ const Dashboard: React.FC<DashboardProps> = props => {
const appHistory = useAppHistory(backUrl);

const temporalMessageForVersion_2_36_8 = i18n.t(
"PLEASE NOTE: monthly % achieved dashboards are not functional in this version of Platform, but plan to be restored by May 31. In the interim, reach out to [email protected] if you need visibility on this data.",
{ nsSeparator: false }
"PLEASE NOTE: monthly % achieved dashboards are not functional in this version of Platform, but plan to be restored by May 31. In the interim, reach out to {{recipients}} if you need visibility on this data.",
{ recipients: appConfig.app.notifyEmailOnProjectSave.join(" / "), nsSeparator: false }
);

React.useEffect(() => {
Expand Down

0 comments on commit 0554038

Please sign in to comment.