apostrophe 2.227.1 → 2.227.2
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/CHANGELOG.md
CHANGED
|
@@ -583,7 +583,7 @@ apos.define('apostrophe-modal', {
|
|
|
583
583
|
// also provide the name of the item that we are within.
|
|
584
584
|
if (i > 0 && slides[i - 1].arrayItems && slides[i - 1].arrayItems.length > 0 && slides[i - 1].options.field.titleField) {
|
|
585
585
|
const titleFieldValue = slides[i - 1].arrayItems[slides[i - 1].active][slides[i - 1].options.field.titleField];
|
|
586
|
-
$li.text(slide.options.field.label + (titleFieldValue ?
|
|
586
|
+
$li.text(slide.options.field.label + (titleFieldValue ? ' (' + titleFieldValue + ')' : ''));
|
|
587
587
|
} else {
|
|
588
588
|
$li.text(slide.options.field.label);
|
|
589
589
|
}
|