changeset 3359:af6d8020b4a6

client: identify: improved label formatting
author Markus Kottlaender <markus@intevation.de>
date Tue, 21 May 2019 17:11:39 +0200
parents c0c880553cd5
children b2ccfebd5616 3e7a670896bd
files client/src/components/identify/formatter.js
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/identify/formatter.js	Tue May 21 16:31:22 2019 +0200
+++ b/client/src/components/identify/formatter.js	Tue May 21 17:11:39 2019 +0200
@@ -21,6 +21,9 @@
       if (p.key === "responsible_country") p.key = "Responsible Country";
       if (p.key === "fa_date_info") p.key = "Fairway Date";
       if (p.key === "fa_critical") p.key = "Fairway Critical";
+      if (p.key === "gauge_objname") p.key = "Reference Gauge";
+      if (p.key === "source_organization") p.key = "Source Organization";
+      if (p.key === "gm_waterlevel") p.key = "Gauge Waterlevel";
 
       // remove certain props
       let propsToRemove = ["nobjnm", "reference_water_levels"];