Breadcrumb - componente na versão 17 com erro no link da Rota #1979
Labels
status: awaiting author
Additional information has been requested from the author
status: triage
Issue or pull request that need to be triaged and assigned to a reviewer
Componente não faz o direcionamento correto não respeita a rota.
Tenho uma rota que aponta pro componente teste
url no navegador fica localhost:4200/teste -OK
ao acessar tenho um Breadcrumb da seguinte forma
<po-breadcrumb
[p-items]="[
{ label: 'Home', link: 'home' },
{ label: 'Teste',link: 'teste'}
]"
e clicar em Home ele tenta ir pra rota
teste/home ao invez de apenas home
/ //////////////////////////////////Rotas
import { Routes } from '@angular/router';
import { TesteComponent } from './components/teste/teste.component';
import { HomeComponent } from './components/home/home.component';
export const routes: Routes = [
{
path: '',
component: HomeComponent,
},
{
path: 'home',
component: HomeComponent,
},
{
path: 'teste',
component: TesteComponent,
},
];
///////////////////////////////////////////////////////////////////////////////
core.mjs:11754 ERROR Error: NG04002: Cannot match any routes. URL Segment: 'teste/home'
at Recognizer.noMatchError (router.mjs:3646:12)
at router.mjs:3679:20
at catchError.js:10:39
at OperatorSubscriber2._this._error (OperatorSubscriber.js:25:21)
at Subscriber2.error (Subscriber.js:43:18)
at Subscriber2._error (Subscriber.js:67:30)
at Subscriber2.error (Subscriber.js:43:18)
at Subscriber2._error (Subscriber.js:67:30)
at Subscriber2.error (Subscriber.js:43:18)
at Subscriber2._error (Subscriber.js:67:30)
Ambiente
Observações
Tempo de Resposta PO UI --> Em até 7 dias úteis.
Tempo de Retorno Solicitante --> 35 dias corridos
Issues sem retorno do solicitante por mais de 35 dias corridos serão encerradas.
The text was updated successfully, but these errors were encountered: