Skip to content

Commit 5de958d

Browse files
authored
Fix collection element broken in containers (baserow#4243)
1 parent ccc17a9 commit 5de958d

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"type": "bug",
3+
"message": "Fix collection element broken when they are in container",
4+
"domain": "builder",
5+
"issue_number": null,
6+
"bullet_points": [],
7+
"created_at": "2025-11-13"
8+
}

web-frontend/modules/builder/components/page/PageContent.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
:element="element"
77
:mode="mode"
88
:application-context-additions="{
9-
element,
109
page: currentPage,
1110
recordIndexPath: [],
1211
}"
@@ -17,7 +16,6 @@
1716
:element="element"
1817
:mode="mode"
1918
:application-context-additions="{
20-
element,
2119
page: currentPage,
2220
recordIndexPath: [],
2321
}"
@@ -28,7 +26,6 @@
2826
:element="element"
2927
:mode="mode"
3028
:application-context-additions="{
31-
element,
3229
page: currentPage,
3330
recordIndexPath: [],
3431
}"

web-frontend/modules/builder/components/page/PageElement.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
:key="element._.uid"
1616
:element="element"
1717
class="element"
18+
:application-context-additions="{ element }"
1819
:class="elementClasses"
1920
@move="$emit('move', $event)"
2021
/>

web-frontend/modules/builder/components/page/PagePreview.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
:is-copying="copyingElementIndex === index"
3131
:application-context-additions="{
3232
recordIndexPath: [],
33-
element,
3433
page: currentPage,
3534
}"
3635
:show-element-id="showElementId"
@@ -71,7 +70,6 @@
7170
:is-copying="copyingElementIndex === index"
7271
:application-context-additions="{
7372
recordIndexPath: [],
74-
element,
7573
page: currentPage,
7674
}"
7775
:show-element-id="showElementId"
@@ -104,7 +102,6 @@
104102
:is-copying="copyingElementIndex === index"
105103
:application-context-additions="{
106104
recordIndexPath: [],
107-
element,
108105
page: currentPage,
109106
}"
110107
:show-element-id="showElementId"

0 commit comments

Comments
 (0)