Merge remote-tracking branch 'origin/release/17.0'
This commit is contained in:
@@ -142,7 +142,10 @@ export class UmbDataTypePickerFlowModalElement extends UmbModalBaseElement<
|
||||
}
|
||||
this.removeUmbController(contentContextConsumer);
|
||||
this.removeUmbController(propContextConsumer);
|
||||
const propertyEditorName = this.#propertyEditorUIs.find((ui) => ui.alias === params.uiAlias)?.name;
|
||||
const propertyEditorUiManifest = this.#propertyEditorUIs.find((ui) => ui.alias === params.uiAlias);
|
||||
const propertyEditorName = this.localize.string(
|
||||
propertyEditorUiManifest?.meta?.label || propertyEditorUiManifest?.name || '#general_notFound',
|
||||
);
|
||||
const dataTypeName = `${contentContext?.getName() ?? ''} - ${propContext.getName() ?? ''} - ${propertyEditorName}`;
|
||||
|
||||
return {
|
||||
|
||||
@@ -208,7 +208,7 @@ export class UmbDataTypeWorkspaceContext
|
||||
umbExtensionsRegistry.byTypeAndAlias('propertyEditorUi', propertyEditorUIAlias),
|
||||
(manifest) => {
|
||||
this.#propertyEditorUiIcon.setValue(manifest?.meta.icon || null);
|
||||
this.#propertyEditorUiName.setValue(manifest?.name || null);
|
||||
this.#propertyEditorUiName.setValue(manifest?.meta?.label || manifest?.name || null);
|
||||
|
||||
// Maps properties to have a weight, so they can be sorted, notice UI properties have a +1000 weight compared to schema properties.
|
||||
this.#propertyEditorUISettingsProperties = (manifest?.meta.settings?.properties ?? []).map((x, i) => ({
|
||||
|
||||
@@ -83,7 +83,7 @@ export class UmbDataTypeDetailsWorkspacePropertyEditorPickerElement extends UmbF
|
||||
#renderPropertyEditorReference() {
|
||||
if (!this.propertyEditorUiAlias || !this.propertyEditorSchemaAlias) return nothing;
|
||||
|
||||
let name = this.propertyEditorUiName;
|
||||
let name = this.localize.string(this.propertyEditorUiName);
|
||||
let alias = this.propertyEditorUiAlias;
|
||||
let error = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user