Skip to content

Commit e0a5892

Browse files
committed
Update field names in serializeVisibleElements to patch producer /
consumer names. Fixes: #7316 Signed-off-by: Clément Christiaens <clement.christiaens@xwiki.com>
1 parent b182c08 commit e0a5892

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/store/files.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -867,10 +867,11 @@ const _filesStore = defineStore('files', () => {
867867
}
868868
const coordinates = element.coordinates && typeof element.coordinates === 'object'
869869
? {
870-
x: element.coordinates.x,
871-
y: element.coordinates.y,
872-
w: element.coordinates.w,
873-
h: element.coordinates.h,
870+
page: element.coordinates.page,
871+
top: element.coordinates.top,
872+
left: element.coordinates.left,
873+
width: element.coordinates.width,
874+
height: element.coordinates.height,
874875
}
875876
: undefined
876877
return {

0 commit comments

Comments
 (0)