manual update after merge
This commit is contained in:
@@ -9,15 +9,19 @@ export class UmbStoreExtensionInitializer {
|
||||
constructor(host: UmbControllerHostElement) {
|
||||
this.host = host;
|
||||
|
||||
new UmbObserverController(this.host, umbExtensionsRegistry.extensionsOfTypes(['store', 'treeStore']), (stores) => {
|
||||
if (!stores) return;
|
||||
new UmbObserverController(
|
||||
this.host,
|
||||
umbExtensionsRegistry.extensionsOfTypes(['store', 'treeStore', 'itemStore']),
|
||||
(stores) => {
|
||||
if (!stores) return;
|
||||
|
||||
stores.forEach((store) => {
|
||||
if (this.#storeMap.has(store.alias)) return;
|
||||
stores.forEach((store) => {
|
||||
if (this.#storeMap.has(store.alias)) return;
|
||||
|
||||
// Instantiate and provide stores. Stores are self providing when the class is instantiated.
|
||||
this.#storeMap.set(store.alias, createExtensionClass(store, [this.host]));
|
||||
});
|
||||
});
|
||||
// Instantiate and provide stores. Stores are self providing when the class is instantiated.
|
||||
this.#storeMap.set(store.alias, createExtensionClass(store, [this.host]));
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user