From e2e864d18bb0e9b78899f9175bf2f8b7e3e371b9 Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Sun, 1 Sep 2024 11:15:40 +0300 Subject: [PATCH] M: Fix inheritance indicators --- .../RSFormPage/EditorConstituenta/FormConstituenta.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx index d75478c9..191bba40 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx @@ -249,16 +249,16 @@ function FormConstituenta({ icon={} /> - {state.is_inherited_parent ? ( + {state.is_inherited_parent && !state.is_inherited ? ( } + icon={} disabled titleHtml='Внимание!
Конституента имеет потомков
в операционной схеме синтеза' /> ) : null} {state.is_inherited ? ( } + icon={} disabled titleHtml='Внимание!
Конституента является наследником
' />