Skip to content
Snippets Groups Projects
Commit 611d248b authored by Mathias Chouet's avatar Mathias Chouet
Browse files

Cleaned code

parent e120fb03
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,6 @@ export class FixedResultsComponent extends ResultsComponentDirective {
// add child type and position before label
if (nub && nub.parent && nub.parent.childrenType) {
const pos = nub.findPositionInParent();
// label = this.intlService.localizeText("INFO_OUVRAGE") + " n°" + (pos + 1) + ": " + label;
const cn = capitalize(this.intlService.childName(nub.parent));
label = sprintf(this.intlService.localizeText("INFO_STUFF_N"), cn)
+ (pos + 1) + ": " + label;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment