diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2022-11-25 16:25:38 +0800 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-28 11:29:35 +0000 |
commit | 74d8a254ab6c9090f4d4abf4d5bc0490454a87b8 (patch) | |
tree | 3965f3359d16b2e374b62e3a4ec7e5d09bc6d8f4 /server | |
parent | 92b539baecf11d5f743b66d5281d740dea893f02 (diff) | |
download | sonarqube-74d8a254ab6c9090f4d4abf4d5bc0490454a87b8.tar.gz sonarqube-74d8a254ab6c9090f4d4abf4d5bc0490454a87b8.zip |
SONAR-17633 Change system info file name
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/apps/system/components/PageActions.tsx | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageActions-test.tsx.snap | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx b/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx index 9c7fa5561e0..bcf47efc01f 100644 --- a/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx +++ b/server/sonar-web/src/main/js/apps/system/components/PageActions.tsx @@ -151,7 +151,7 @@ export default class PageActions extends React.PureComponent<Props, State> { )} <a className="button spacer-left" - download={`sonarqube-support-info-${getFileNameSuffix(this.props.serverId)}.json`} + download={`sonarqube-system-info-${getFileNameSuffix(this.props.serverId)}.json`} href={infoUrl} id="download-link" onClick={this.removeElementFocus} diff --git a/server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageActions-test.tsx.snap b/server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageActions-test.tsx.snap index c388d56ea63..0490be98ac7 100644 --- a/server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageActions-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/system/components/__tests__/__snapshots__/PageActions-test.tsx.snap @@ -95,7 +95,7 @@ exports[`should render correctly 1`] = ` </Dropdown> <a className="button spacer-left" - download="sonarqube-support-info-filesuffix(MyServerId).json" + download="sonarqube-system-info-filesuffix(MyServerId).json" href="/api/system/info" id="download-link" onClick={[Function]} @@ -205,7 +205,7 @@ exports[`should render without log download 1`] = ` </span> <a className="button spacer-left" - download="sonarqube-support-info-filesuffix().json" + download="sonarqube-system-info-filesuffix().json" href="/api/system/info" id="download-link" onClick={[Function]} |