From b42c23744d88b2a6693d7f09fd0aa2d2c2bc63c6 Mon Sep 17 00:00:00 2001 From: vmonakhov Date: Wed, 2 Oct 2024 15:18:09 +0300 Subject: [PATCH] init frontend --- src/Layout/Routes.js | 4 +++- src/pages/ToolsRoute/index.js | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Layout/Routes.js b/src/Layout/Routes.js index c7d9880d..4f645908 100644 --- a/src/Layout/Routes.js +++ b/src/Layout/Routes.js @@ -10,6 +10,7 @@ import DashboardRoute from "pages/DashboardRoute"; import Desktop from "pages/Desktop"; import DialeqtImport from "pages/DialeqtImport"; import DictImport from "pages/DictImport"; +import ComplexDistance from "pages/ComplexDistance"; import CorpImport from "pages/CorpImport"; import DictionariesAll from "pages/DictionariesAll"; import DistanceMap from "pages/DistanceMap"; @@ -17,7 +18,6 @@ import MapSelectedLanguages from "pages/DistanceMap/map"; import SelectedLanguages from "pages/DistanceMap/selectorLangGroup"; import Docx2Eaf from "pages/Docx2Eaf"; import Docx2Xlsx from "pages/Docx2Xlsx"; -import ListCognates from "pages/ListCognates"; import EditTranslations from "pages/EditTranslations"; import Files from "pages/Files"; import Grants from "pages/Grants"; @@ -25,6 +25,7 @@ import GrantsRoute from "pages/GrantsRoute"; import Info from "pages/Info"; import Languages from "pages/Languages"; import LanguagesDatabasesRoute from "pages/LanguagesDatabasesRoute"; +import ListCognates from "pages/ListCognates"; import Map from "pages/Map"; import NotFound from "pages/NotFound"; import Organizations from "pages/Organizations"; @@ -81,6 +82,7 @@ const AppRoutes = () => ( } /> } /> } /> + } /> } /> ); diff --git a/src/pages/ToolsRoute/index.js b/src/pages/ToolsRoute/index.js index f8128a04..9eae121d 100644 --- a/src/pages/ToolsRoute/index.js +++ b/src/pages/ToolsRoute/index.js @@ -76,6 +76,12 @@ function ToolsRoute(props) { )} + {props.user.id !== undefined && ( + + + + + )}