diff options
author | Wouter Admiraal <45544358+wouter-admiraal-sonarsource@users.noreply.github.com> | 2021-12-13 12:04:20 +0100 |
---|---|---|
committer | Lukasz Jarocki <lukasz.jarocki@sonarsource.com> | 2021-12-13 15:22:58 +0100 |
commit | 8c815698e16429eae1634be7f168074ca71009fc (patch) | |
tree | 705223ed30f36cd82b3c526e209d2d23967ef05d /server | |
parent | 059288e778d3169c74b7c34b5c68edd0b356eec2 (diff) | |
download | sonarqube-8c815698e16429eae1634be7f168074ca71009fc.tar.gz sonarqube-8c815698e16429eae1634be7f168074ca71009fc.zip |
SONAR-15821 Drop applications from governance extension
Diffstat (limited to 'server')
3 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts b/server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts index 6ccff0a0c57..879f2f0ef62 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts +++ b/server/sonar-web/src/main/js/app/components/extensions/exposeLibraries.ts @@ -28,6 +28,7 @@ import { SubmitButton } from '../../../components/controls/buttons'; import Checkbox from '../../../components/controls/Checkbox'; +import ClickEventBoundary from '../../../components/controls/ClickEventBoundary'; import ConfirmButton from '../../../components/controls/ConfirmButton'; import Dropdown from '../../../components/controls/Dropdown'; import Favorite from '../../../components/controls/Favorite'; @@ -184,6 +185,7 @@ const exposeLibraries = () => { Checkbox, CheckIcon, ClearIcon, + ClickEventBoundary, ConfirmButton, CoverageRating, DateFormatter, diff --git a/server/sonar-web/src/main/js/apps/application-console/ApplicationConsoleAppRenderer.tsx b/server/sonar-web/src/main/js/apps/application-console/ApplicationConsoleAppRenderer.tsx index 4e5ad68e127..207ee55edc6 100644 --- a/server/sonar-web/src/main/js/apps/application-console/ApplicationConsoleAppRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/application-console/ApplicationConsoleAppRenderer.tsx @@ -92,7 +92,7 @@ export default function ApplicationConsoleAppRenderer(props: ApplicationConsoleA {editing && ( <EditForm - header={translate('portfolios.edit_application')} + header={translate('application_console.edit')} onClose={() => setEditing(false)} onEdit={props.onEdit} application={application} diff --git a/server/sonar-web/src/main/js/apps/application-console/__tests__/__snapshots__/ApplicationConsoleAppRenderer-test.tsx.snap b/server/sonar-web/src/main/js/apps/application-console/__tests__/__snapshots__/ApplicationConsoleAppRenderer-test.tsx.snap index fe50f5d6a35..7af0e3d73f4 100644 --- a/server/sonar-web/src/main/js/apps/application-console/__tests__/__snapshots__/ApplicationConsoleAppRenderer-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/application-console/__tests__/__snapshots__/ApplicationConsoleAppRenderer-test.tsx.snap @@ -25,7 +25,7 @@ exports[`should handle editing: edit form 1`] = ` "visibility": "private", } } - header="portfolios.edit_application" + header="application_console.edit" onClose={[Function]} onEdit={[MockFunction]} /> |