@@ -105,7 +105,7 @@ export class UmbPropertyEditorUIBlockGridTypeConfigurationElement
|
||||
#onCreate(e: CustomEvent, groupKey: string | null) {
|
||||
const selectedElementType = e.detail.contentElementTypeKey;
|
||||
if (selectedElementType) {
|
||||
this.#blockTypeWorkspaceModalRegistration?.open({}, 'create/' + groupKey + '/' + selectedElementType);
|
||||
this.#blockTypeWorkspaceModalRegistration?.open({}, 'create/' + selectedElementType + '/' + groupKey);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -48,8 +48,7 @@ export class UmbPropertyEditorUIBlockListBlockConfigurationElement
|
||||
#onCreate(e: CustomEvent) {
|
||||
const selectedElementType = e.detail.contentElementTypeKey;
|
||||
if (selectedElementType) {
|
||||
// We do not have any groups here, which is why we pass null as the groupKey.
|
||||
this.#blockTypeWorkspaceModalRegistration?.open({}, 'create/null/' + selectedElementType);
|
||||
this.#blockTypeWorkspaceModalRegistration?.open({}, 'create/' + selectedElementType + '/null');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user