parse the contentUdi

This commit is contained in:
Niels Lyngsø
2024-02-20 20:09:05 +01:00
parent 043858cced
commit d355059d58

View File

@@ -144,7 +144,7 @@ export class UmbBlockGridEntriesElement extends UmbLitElement {
this.#context.setLayouts(model); this.#context.setLayouts(model);
}, },
onRequestMove: ({ item }) => { onRequestMove: ({ item }) => {
return this.#context.allowDrop(item); return this.#context.allowDrop(item.contentUdi);
}, },
onDisallowed: () => { onDisallowed: () => {
this.setAttribute('disallow-drop', ''); this.setAttribute('disallow-drop', '');