From cb0d3c8b5dfd151bf81cd016235327cc0e8200bb Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.fr>
Date: Tue, 14 Apr 2020 05:46:06 +0000
Subject: [PATCH] v0.2.10.3 BUG: Event slider now displayed in the GUI when
 GR2M is used #14

---
 DESCRIPTION       | 4 ++--
 NEWS.md           | 2 +-
 inst/ShinyGR/ui.R | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index cc8df67..ba2f12d 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,8 +1,8 @@
 Package: airGRteaching
 Type: Package
 Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included)
-Version: 0.2.10.2
-Date: 2020-04-13
+Version: 0.2.10.3
+Date: 2020-04-14
 Authors@R: c(
   person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"),
   person("Laurent", "Coron", role = c("aut"), comment = c(ORCID = "0000-0002-1503-6204")),
diff --git a/NEWS.md b/NEWS.md
index 95016b5..2c7d009 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -4,7 +4,7 @@
 
 
 
-### 0.2.10.2 Release Notes (2020-04-13)
+### 0.2.10.3 Release Notes (2020-04-14)
 
 
 #### New features
diff --git a/inst/ShinyGR/ui.R b/inst/ShinyGR/ui.R
index d9d5d24..089fc03 100644
--- a/inst/ShinyGR/ui.R
+++ b/inst/ShinyGR/ui.R
@@ -147,7 +147,7 @@ navbarPage(title       = div("airGRteaching",
                                                                  timezone = "+0000",
                                                                  animate = FALSE)
                                               ),
-                                              conditionalPanel(condition = "input.PlotType == 'Model diagram' & (input.HydroModel == 'GR4J' || input.HydroModel == 'GR5J' || input.HydroModel == 'GR6J')",
+                                              conditionalPanel(condition = "input.PlotType == 'Model diagram'",
                                                                column(width = 4, offset = 0,
                                                                       sliderInput("Event", label = "Select the target date:", 
                                                                                   min = as.POSIXct(.ShinyGR.args$SimPer[[1]][1L], tz = "UTC"),
-- 
GitLab