Commit 3c5aa259 authored by naji's avatar naji
Browse files

Merge branch 'fix/breadcrumb-labels' into 'feat/test'

Fix breadcrumbs label

See merge request !49
parents 29f876d5 0d0cab0c
......@@ -63,7 +63,7 @@ export class PastisBreadcrumbComponent implements OnInit {
}
getLabel(data:BreadcrumbDataMetadata): string {
if (data.node) {
if (data.node && (data.label === data.node.name)) {
if (!this.metadataLanguageService.sedaLanguage.getValue()) {
if (data.node.sedaData.NameFr){
return data.node.sedaData.NameFr;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment