From: Ambroise C Date: Wed, 18 Oct 2023 13:45:13 +0000 (+0200) Subject: SONAR-20672 Remove separator between QP changelog rows with the same datetime X-Git-Tag: 10.3.0.82913~147 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d640ad77a9ef552540195ae54422eaf98d7b1525;p=sonarqube.git SONAR-20672 Remove separator between QP changelog rows with the same datetime --- diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx index 47c25b4fd90..e5945afe2fe 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx @@ -17,6 +17,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +import classNames from 'classnames'; import { isSameMinute } from 'date-fns'; import { CellComponent, @@ -77,7 +79,9 @@ export default function Changelog(props: Props) { return ( - + {!isBulkChange && (
@@ -100,16 +104,26 @@ export default function Changelog(props: Props) { )} - + {!isBulkChange && (event.authorName ? event.authorName : System)} - + {!isBulkChange && intl.formatMessage({ id: `quality_profiles.changelog.${event.action}` })} - + {event.ruleName && ( {event.ruleName} )} @@ -129,7 +143,11 @@ export default function Changelog(props: Props) {
- + {event.params && }