apostrophe 2.227.0 → 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
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.227.2 (2023-05-26)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
2.227.1 briefly broke the production frontend admin UI build process. This has been corrected.
|
|
8
|
+
|
|
9
|
+
## 2.227.1 (2023-05-26)
|
|
10
|
+
|
|
11
|
+
### Fixes
|
|
12
|
+
|
|
13
|
+
Does not display `(undefined)` if the outer array item is new when an array is nested in another array and the parent object appears in the
|
|
14
|
+
breadcrumb trail while editing the nested array.
|
|
15
|
+
|
|
3
16
|
## 2.227.0 (2023-03-16)
|
|
4
17
|
|
|
5
18
|
### Adds
|
|
@@ -582,7 +582,8 @@ apos.define('apostrophe-modal', {
|
|
|
582
582
|
// Check if we came from an array. If we did, we can
|
|
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 ? ' (' + titleFieldValue + ')' : ''));
|
|
586
587
|
} else {
|
|
587
588
|
$li.text(slide.options.field.label);
|
|
588
589
|
}
|