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

Cleaned code

parent 97f5bb8a
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