From c44495a8b14f4748b693ad3bba5c361f57755dcf Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Sun, 1 Sep 2024 11:16:12 +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='Внимание!
Конституента является наследником
' />