ctt-babylon 0.23.7 → 0.23.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/ctt-babylon.mjs
CHANGED
|
@@ -3320,7 +3320,9 @@ class MapperService {
|
|
|
3320
3320
|
if (!parsedLabel) {
|
|
3321
3321
|
continue;
|
|
3322
3322
|
}
|
|
3323
|
-
const labelWithoutRange = parsedLabel
|
|
3323
|
+
const labelWithoutRange = parsedLabel
|
|
3324
|
+
.replace(/^\s*\d+\s*-\s*\d+\s*/, '')
|
|
3325
|
+
.trim();
|
|
3324
3326
|
if (labelWithoutRange && labelWithoutRange !== parsedLabel) {
|
|
3325
3327
|
return labelWithoutRange;
|
|
3326
3328
|
}
|
|
@@ -4613,7 +4615,7 @@ class MapperService {
|
|
|
4613
4615
|
icon: `icon-` + (item.icon ?? item.class),
|
|
4614
4616
|
type: item?.type,
|
|
4615
4617
|
nameIdentifier: item?.nameIdentifier,
|
|
4616
|
-
url: item?.url,
|
|
4618
|
+
url: item?.url ?? item?.linkValue,
|
|
4617
4619
|
linkType: item?.linkType,
|
|
4618
4620
|
}));
|
|
4619
4621
|
return items;
|