refs #4965 Hotfix collection-label
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2023-03-01 12:59:46 +01:00
parent ab8c3b3f67
commit fdf97b1fc7
2 changed files with 4 additions and 3 deletions

View File

@ -66,8 +66,9 @@ module.exports = {
else
value = '---';
let routeFk = labelData.routeFk.toString();
if (labelData.routeFk)
value = `${value} [${labelData.routeFk.toString().substring(0, 3)}]`;
value = `${value} [${routeFk.substring(routeFk.length - 3)}]`;
return value;
},

View File

@ -3,9 +3,9 @@
"height": "4.9cm",
"margin": {
"top": "0.3cm",
"right": "0.6cm",
"right": "0.3cm",
"bottom": "0cm",
"left": "0cm"
"left": "0.2cm"
},
"printBackground": true
}