From 1a4ce87970a362d1af257656ef89e7a898fc1ccc Mon Sep 17 00:00:00 2001 From: Peter Linnegan Date: Tue, 18 May 2021 13:54:30 +0100 Subject: [PATCH] feat: add icon, rename and fix filter issue --- package.json | 4 ++-- public/dhis2-app-icon.png | Bin 0 -> 6682 bytes src/App.module.css | 4 ++++ src/components/Page.js | 5 +++-- src/utils.js | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 public/dhis2-app-icon.png diff --git a/package.json b/package.json index 7ea9694..eb974cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "event-aggregate-mapper", - "version": "1.2.1", + "name": "pdac", + "version": "1.3.1", "description": "", "license": "BSD-3-Clause", "private": true, diff --git a/public/dhis2-app-icon.png b/public/dhis2-app-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..252a819e57a203d3a723afee64af73119640b079 GIT binary patch literal 6682 zcmZ`+bzEG@lOF~hV1VEbAvl4--Q8u7;O?%$-QAtw7Tj%cNd^f75+DTk5FluPKmtd0 z_jdPwch~Pzud1uQ->RgTx}pSi12A4X%rW(IKJnqz;jjk#XB}C~CrRrke|`Ez{j0#M zwf#E(Z?_OYhHIfReJBqAo@PB+7WOL#6sw?Y2pI%0Qv(gex6TMSd9%r|aPo5=oKH>= zY(4uegz^s8A08TI3D5`v0L7LOn#kxugu^OupRw%mRs?Yhsh{*1tyX0LL}oqYb~u~; z8md(Lkg@{7H@1n*IXR5M5h@6S>Au3gf&feZ(V3~us%O4%!-(SwU^D)va75n^nnHkC zIa^LvCQon%Do%&=mK8w#3tB7mA&u*o%MVTMAHKbw1j#23Q>O^#k;=mcKZ7aXJ#;*e zbuWz);Dpoo%Hwl#rCc0N6;M^0+kLHz0TE)n*?Oy6jv4#Pw0~I4E)2OhgneFryzUgF ziihf^<=Y~_f%jYsNmi{XASk0oCvT-lWJvgjrID3&-2?>JUF(O3496K>!Ly`%o}sv@ zFHPgb!I>rv3DED543s;S1u*njMCmO1SDZji`%-BR&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@k zvB|M0K$(AhmoS$!LDF09XN+NXqWIa~Bq_qkeO(;of8a;)#JzlrDT3=K5lqRqkl~X* z=EZHr9*N2NgUMM-OrT=@HV(@qf{*1eZcQ0nF { return (
-

Event to Aggregate Mappings

+

Program Dataset Connector

This application is used to link program indicators to a data elements in a specific data set. This is used to generate copies of the program indicator for each of the disaggregations assigned to the data element in the @@ -297,12 +297,13 @@ const Page = ({ metadata, existingConfig }) => { )} handleFilterChange(e)} /> - +
diff --git a/src/utils.js b/src/utils.js index b096933..57c2394 100644 --- a/src/utils.js +++ b/src/utils.js @@ -106,7 +106,7 @@ export function filterRowsByText(dePiMaps, orderedRowIds, text) { } const textLower = text.toLocaleLowerCase() const result = [] - for (rowId of orderedRowIds) { + for (const rowId of orderedRowIds) { const { dsName, deName, piName } = dePiMaps[rowId] const dsLower = dsName.toLocaleLowerCase() const deLower = deName.toLocaleLowerCase()