This is an automated email from the ASF dual-hosted git repository.
sfirke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new c8185694be fix: update links to reference docs listing Superset issue
codes (#28389)
c8185694be is described below
commit c8185694be020f7ff27cf332ae4b755d9482b128
Author: Jonathan Schneider <[email protected]>
AuthorDate: Wed May 8 21:08:38 2024 +0200
fix: update links to reference docs listing Superset issue codes (#28389)
---
superset-frontend/src/components/ErrorMessage/IssueCode.test.tsx | 2 +-
superset-frontend/src/components/ErrorMessage/IssueCode.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/superset-frontend/src/components/ErrorMessage/IssueCode.test.tsx
b/superset-frontend/src/components/ErrorMessage/IssueCode.test.tsx
index e4be3bfa70..da5092a94d 100644
--- a/superset-frontend/src/components/ErrorMessage/IssueCode.test.tsx
+++ b/superset-frontend/src/components/ErrorMessage/IssueCode.test.tsx
@@ -41,6 +41,6 @@ test('should render the link', () => {
const link = screen.getByRole('link');
expect(link).toHaveAttribute(
'href',
-
`https://superset.apache.org/docs/miscellaneous/issue-codes#issue-${mockedProps.code}`,
+
`https://superset.apache.org/docs/using-superset/issue-codes#issue-${mockedProps.code}`,
);
});
diff --git a/superset-frontend/src/components/ErrorMessage/IssueCode.tsx
b/superset-frontend/src/components/ErrorMessage/IssueCode.tsx
index df0206fe51..9ad3a1bdae 100644
--- a/superset-frontend/src/components/ErrorMessage/IssueCode.tsx
+++ b/superset-frontend/src/components/ErrorMessage/IssueCode.tsx
@@ -28,7 +28,7 @@ export default function IssueCode({ code, message }:
IssueCodeProps) {
<>
{message}{' '}
<a
-
href={`https://superset.apache.org/docs/miscellaneous/issue-codes#issue-${code}`}
+
href={`https://superset.apache.org/docs/using-superset/issue-codes#issue-${code}`}
rel="noopener noreferrer"
target="_blank"
>