From: Grégoire Aubert Date: Fri, 5 May 2017 08:45:41 +0000 (+0200) Subject: SONAR-9145 Show the maximum allowed values in the web services page X-Git-Tag: 6.4-RC1~85 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=38907cdf6165610f51d48ac94ebe78d753952ff7;p=sonarqube.git SONAR-9145 Show the maximum allowed values in the web services page --- diff --git a/server/sonar-web/src/main/js/apps/web-api/components/Params.js b/server/sonar-web/src/main/js/apps/web-api/components/Params.js index 7b362960581..ddb229fee99 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/Params.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/Params.js @@ -35,7 +35,6 @@ export default class Params extends React.PureComponent { const displayedParameters = params .filter(p => showDeprecated || !p.deprecatedSince) .filter(p => showInternal || !p.internal); - return (
@@ -109,6 +108,12 @@ export default class Params extends React.PureComponent {

Example value

{param.exampleValue}} + + {param.maxValuesAllowed != null && +
+

Maximum allowed values

+ {param.maxValuesAllowed} +
} ))}