From e0dd8b7e24926e38f6e6442133ce7646938b7cd7 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Fri, 24 Nov 2023 19:47:03 +0300 Subject: [PATCH] Minor fixes --- rsconcept/frontend/src/App.tsx | 4 ++-- rsconcept/frontend/src/pages/HomePage.tsx | 2 +- .../src/pages/RSFormPage/elements/ViewSideConstituents.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rsconcept/frontend/src/App.tsx b/rsconcept/frontend/src/App.tsx index ab8f7ff2..f30332b9 100644 --- a/rsconcept/frontend/src/App.tsx +++ b/rsconcept/frontend/src/App.tsx @@ -21,7 +21,7 @@ function Root() { const { noNavigation, noFooter, viewportHeight, mainHeight, showScroll } = useConceptTheme(); return ( -
+
-

Лендинг находится в разработке. Данная страница видна только пользователям с правами администратора.

+ { user?.is_staff &&

Лендинг находится в разработке. Данная страница видна только пользователям с правами администратора.

}
); } diff --git a/rsconcept/frontend/src/pages/RSFormPage/elements/ViewSideConstituents.tsx b/rsconcept/frontend/src/pages/RSFormPage/elements/ViewSideConstituents.tsx index a4398495..7565f2be 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/elements/ViewSideConstituents.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/elements/ViewSideConstituents.tsx @@ -258,7 +258,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
-
+