aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectActivity
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-10-09 14:43:02 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-10-10 11:33:12 +0200
commitf5cadba1d11a5a9556cca3267a48fc8dfa32a0f0 (patch)
tree6f82c32906ab0dc7115e475cf6c6451c64232b16 /server/sonar-web/src/main/js/apps/projectActivity
parent9e12a492b27a64bc80d502468cf7653c70e4e040 (diff)
downloadsonarqube-f5cadba1d11a5a9556cca3267a48fc8dfa32a0f0.tar.gz
sonarqube-f5cadba1d11a5a9556cca3267a48fc8dfa32a0f0.zip
do not let select date in future
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectActivity')
-rw-r--r--server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/__snapshots__/ProjectActivityDateInput-test.js.snap2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/__snapshots__/ProjectActivityDateInput-test.js.snap b/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/__snapshots__/ProjectActivityDateInput-test.js.snap
index bc15b05c60e..a25f91ca43f 100644
--- a/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/__snapshots__/ProjectActivityDateInput-test.js.snap
+++ b/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/__snapshots__/ProjectActivityDateInput-test.js.snap
@@ -5,6 +5,7 @@ exports[`should render correctly the date inputs 1`] = `
<DateInput
className="little-spacer-right"
format="yy-mm-dd"
+ maxDate="+0"
name="from"
onChange={[Function]}
placeholder="from"
@@ -14,6 +15,7 @@ exports[`should render correctly the date inputs 1`] = `
<DateInput
className="little-spacer-left"
format="yy-mm-dd"
+ maxDate="+0"
name="to"
onChange={[Function]}
placeholder="to"