Skip to content

Commit

Permalink
fix: listen for layoutEntries and set them on the manager
Browse files Browse the repository at this point in the history
  • Loading branch information
iOvergaard committed Sep 11, 2024
1 parent c14cc3e commit f30f895
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ export class UmbPropertyEditorUITinyMceElement extends UmbLitElement implements
constructor() {
super();

this.observe(this.#entriesContext.layoutEntries, (layouts) => {
// Update manager:
this.#managerContext.setLayouts(layouts);
});

this.observe(this.#managerContext.layouts, (layouts) => {
this._value = {
...this._value,
Expand Down

0 comments on commit f30f895

Please sign in to comment.