From 2e67a1f7e914bb4f62ff216194a584ece54dcca1 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 27 Oct 2016 15:27:28 +0200 Subject: [PATCH] fix deprecation badge color on web api page --- .../src/main/js/apps/web-api/components/Params.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 9b89a7eccd4..87762c45ba0 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 @@ -20,6 +20,7 @@ import React from 'react'; import InternalBadge from './InternalBadge'; +import DeprecatedBadge from './DeprecatedBadge'; export default function Params ({ params }) { return ( @@ -31,7 +32,7 @@ export default function Params ({ params }) { {param.key} {param.internal && ( - + )} @@ -48,9 +49,7 @@ export default function Params ({ params }) { {param.deprecatedSince && (
- - deprecated since {param.deprecatedSince} - +
)} -- 2.39.5