fix icons import
This commit is contained in:
@@ -14,7 +14,7 @@ import { UmbDocumentStore } from '../src/backoffice/documents/documents/reposito
|
||||
import { UmbDocumentTreeStore } from '../src/backoffice/documents/documents/repository/document.tree.store.ts';
|
||||
|
||||
import customElementManifests from '../dist/libs/custom-elements.json';
|
||||
import { UmbIconStore } from '../src/core/stores/icon/icon.store';
|
||||
import { UmbIconRegistry } from '../src/core//icon-registry/icon.registry';
|
||||
import { onUnhandledRequest } from '../src/core/mocks/browser';
|
||||
import { handlers } from '../src/core/mocks/browser-handlers';
|
||||
import { UMB_MODAL_CONTEXT_TOKEN, UmbModalContext } from '../libs/modal';
|
||||
@@ -29,11 +29,11 @@ import '../src/backoffice/core/components';
|
||||
import { manifests as documentManifests } from '../src/backoffice/documents';
|
||||
|
||||
class UmbStoryBookElement extends UmbLitElement {
|
||||
_umbIconStore = new UmbIconStore();
|
||||
_umbIconRegistry = new UmbIconRegistry();
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this._umbIconStore.attach(this);
|
||||
this._umbIconRegistry.attach(this);
|
||||
this._registerExtensions(documentManifests);
|
||||
this.provideContext(UMB_MODAL_CONTEXT_TOKEN, new UmbModalContext(this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user