mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
M: Fix inheritance indicators
This commit is contained in:
parent
323f124d68
commit
c44495a8b1
|
@ -249,16 +249,16 @@ function FormConstituenta({
|
|||
icon={<IconSave size='1.25rem' />}
|
||||
/>
|
||||
<Overlay position='top-[0.1rem] left-[0.4rem]' className='cc-icons'>
|
||||
{state.is_inherited_parent ? (
|
||||
{state.is_inherited_parent && !state.is_inherited ? (
|
||||
<MiniButton
|
||||
icon={<IconPredecessor size='1.25rem' className='clr-text-red' />}
|
||||
icon={<IconPredecessor size='1.25rem' className='clr-text-primary' />}
|
||||
disabled
|
||||
titleHtml='Внимание!</br> Конституента имеет потомков<br/> в операционной схеме синтеза'
|
||||
/>
|
||||
) : null}
|
||||
{state.is_inherited ? (
|
||||
<MiniButton
|
||||
icon={<IconChild size='1.25rem' className='clr-text-red' />}
|
||||
icon={<IconChild size='1.25rem' className='clr-text-primary' />}
|
||||
disabled
|
||||
titleHtml='Внимание!</br> Конституента является наследником<br/>'
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user