Block Entry Context: Update the settingsPropertyValueByAlias to observe settings. (#20861)
Replaced content for settings in the settingsPropertyValueByAlias.
This commit is contained in:
@@ -239,7 +239,7 @@ export abstract class UmbBlockEntryContext<
|
|||||||
await this.#settingsStructurePromise;
|
await this.#settingsStructurePromise;
|
||||||
return mergeObservables(
|
return mergeObservables(
|
||||||
[
|
[
|
||||||
this.#content.asObservablePart((data) => data?.values?.filter((x) => x?.alias === propertyAlias)),
|
this.#settings.asObservablePart((data) => data?.values?.filter((x) => x?.alias === propertyAlias)),
|
||||||
await this.propertyVariantId(this.#settingsStructure!, propertyAlias),
|
await this.propertyVariantId(this.#settingsStructure!, propertyAlias),
|
||||||
],
|
],
|
||||||
([propertyValues, propertyVariantId]) => {
|
([propertyValues, propertyVariantId]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user