@@ -162,7 +162,7 @@ function ProcessError({ error }: { error: ErrorData }): React.ReactElement {
);
} else if (error.response.status === 403) {
return (
-
+
Владелец ограничил доступ к данной схеме
diff --git a/rsconcept/frontend/src/pages/PasswordChangePage.tsx b/rsconcept/frontend/src/pages/PasswordChangePage.tsx
index 49ca49a4..0f89569a 100644
--- a/rsconcept/frontend/src/pages/PasswordChangePage.tsx
+++ b/rsconcept/frontend/src/pages/PasswordChangePage.tsx
@@ -70,7 +70,7 @@ function PasswordChangePage() {
isLoading={loading}
hasNoData={!isTokenValid}
>
-
;
+ return
Данная ссылка не действительна
;
} else {
return
;
}
diff --git a/rsconcept/frontend/src/pages/RSFormPage/RSTabs.tsx b/rsconcept/frontend/src/pages/RSFormPage/RSTabs.tsx
index ef2a2162..2f37de51 100644
--- a/rsconcept/frontend/src/pages/RSFormPage/RSTabs.tsx
+++ b/rsconcept/frontend/src/pages/RSFormPage/RSTabs.tsx
@@ -290,7 +290,7 @@ function ProcessError({
if (axios.isAxiosError(error) && error.response) {
if (error.response.status === 404) {
return (
-
+
{`Концептуальная схема с указанным идентификатором ${isArchive ? 'и версией ' : ''}отсутствует`}
@@ -301,7 +301,7 @@ function ProcessError({
);
} else if (error.response.status === 403) {
return (
-
+
Владелец ограничил доступ к данной схеме
diff --git a/rsconcept/frontend/src/pages/RegisterPage.tsx b/rsconcept/frontend/src/pages/RegisterPage.tsx
index ecf60832..ba3f4963 100644
--- a/rsconcept/frontend/src/pages/RegisterPage.tsx
+++ b/rsconcept/frontend/src/pages/RegisterPage.tsx
@@ -83,19 +83,24 @@ function RegisterPage() {
}
return (
-