Skip to content

Correction to allow change in inner element and insert after parent - #9

Open
POFerro wants to merge 1 commit into
ToCSharp:masterfrom
POFerro:master
Open

POFerro wants to merge 1 commit into
ToCSharp:masterfrom
POFerro:master

Conversation

@POFerro

@POFerro POFerro commented Jul 29, 2021

Copy link
Copy Markdown

Hi,

This correction allows us to have a change in an inner element and insert after father. Ex: Assuming this element
{
path: 'AlteracaoContrato/:alteracaoContratualId/:contratoId', data: { breadcrumb: { label: 'Lea.AlteracoesContratuais.PageTitles.Details' } as Breadcrumb },
children: ...,
},
With this change I can perform changes do prop assignment: data: { breadcrumb: { label: 'Lea.AlteracoesContratuais.PageTitles.Details' } as Breadcrumb } and insert another routing element after, like:
{
path: 'addedElement', data: ...,
children: ...,
},
.
With previous implementation text would be broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant