From: Guillaume Peoc'h Date: Tue, 3 May 2022 08:56:05 +0000 (+0200) Subject: SONAR-16263 Revoke button UI fix X-Git-Tag: 9.5.0.56709~180 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4e6cd0e8fd39769762a788929345187414a6c0d0;p=sonarqube.git SONAR-16263 Revoke button UI fix --- diff --git a/server/sonar-web/src/main/js/apps/users/components/TokensFormItem.tsx b/server/sonar-web/src/main/js/apps/users/components/TokensFormItem.tsx index f88add6a9fa..71ddd474254 100644 --- a/server/sonar-web/src/main/js/apps/users/components/TokensFormItem.tsx +++ b/server/sonar-web/src/main/js/apps/users/components/TokensFormItem.tsx @@ -99,9 +99,6 @@ export default class TokensFormItem extends React.PureComponent { - - - {deleteConfirmation === 'modal' ? ( { onConfirm={this.handleRevoke}> {({ onClick }) => ( )} diff --git a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/TokensFormItem-test.tsx.snap b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/TokensFormItem-test.tsx.snap index e75d8c66ab3..1aa8ba418b7 100644 --- a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/TokensFormItem-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/TokensFormItem-test.tsx.snap @@ -36,18 +36,15 @@ exports[`should render correctly 1`] = ` - - - @@ -90,13 +87,6 @@ exports[`should render correctly 2`] = ` - - - + users.tokens.revoke `; exports[`should revoke the token using inline confirmation 2`] = ` `;