Skip to content

Conversation

POFerro
Copy link

@POFerro POFerro commented Jul 29, 2021

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