Skip to content

Commit

Permalink
update for triage.testing.datim.org #5705, including clean up for #45
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Zemp committed Dec 4, 2019
1 parent 1cca4ae commit e0c576f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion current/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "datim-mechanism-finder",
"version": "0.1.0",
"version": "30.3.1",
"private": true,
"dependencies": {
"@dhis2/d2-ui-header-bar": "5.3.11",
Expand Down
2 changes: 1 addition & 1 deletion current/public/manifest.webapp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"appType": "APP",
"name": "Mechanism Finder",
"version": "30.3.0",
"version": "30.3.1",
"description": "DATIM application to find a mechanism",
"developer": {
"name": "Thomas Zemp",
Expand Down
7 changes: 1 addition & 6 deletions current/src/components/DataReactTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ function getData(array) {
return newData;
}

function MyCell(column) {
return <span title={column}>{column}</span>
}

function organizeColumns(columnRow, dataRow) {
var idealOrder = ["Date","OU","OU Country Code","FY","Reporting Cycle","HQ ID","IM","Agency","Award Number","Partner Name","Partner DUNS","Start Date","End Date","Active","Partner Country","Indigenous Partner","Organization Type","Legacy ID","Legacy Partner Name","Legacy Partner ID","Legacy Partner Organization Type ID"];

Expand Down Expand Up @@ -48,7 +44,6 @@ function organizeColumns(columnRow, dataRow) {
}

function getColumns(columnRow, dataRow) {
const headerStyle = "{white-space: pre-line !important;word-wrap: break-word;}"
var wideColumns = {"Legacy Partner Name": true, "IM": true};

columnRow = organizeColumns(columnRow, dataRow);
Expand Down Expand Up @@ -114,4 +109,4 @@ function DataReactTable(props) {
);
}

export default DataReactTable;
export default DataReactTable;
1 change: 0 additions & 1 deletion current/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "./index.css";
import NetworkError from "./utils/networkError.component";

function Dhis2Wrapper(props){
console.log(props.d2);
if (!props.d2) return null;
return (
<React.Fragment>
Expand Down
2 changes: 1 addition & 1 deletion current/src/services/logicTestProdToggle.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export function logicTestProdToggle(environment, host) {
if (
/datim\.org$/.test(host) &&
host !== "www.datim.org" &&
host !== "triage.datim.org"
host !== "triage.testing.datim.org"
) {
return true;
}
Expand Down
Binary file added releases/30.3.1/mechanism-finder.zip
Binary file not shown.

0 comments on commit e0c576f

Please sign in to comment.