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

Cleaned code

parent 9fd07465
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.
Finish editing this message first!
Please register or to comment