add todo
This commit is contained in:
@@ -15,6 +15,7 @@ export class UmbTreeDataTypesElement extends UmbContextProviderMixin(UmbContextC
|
||||
|
||||
this._registerTreeItemActions();
|
||||
|
||||
// TODO: how do we best expose the tree api to the tree navigator element?
|
||||
this.consumeContext('umbDataTypeStore', (dataTypeStore: UmbDataTypesStore) => {
|
||||
this.provideContext('umbTreeStore', dataTypeStore);
|
||||
});
|
||||
|
||||
@@ -11,6 +11,7 @@ export class UmbTreeDocumentTypes extends UmbContextConsumerMixin(UmbContextProv
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: how do we best expose the tree api to the tree navigator element?
|
||||
this.consumeContext('umbDocumentTypeStore', (store: UmbDocumentTypeStore) => {
|
||||
this.provideContext('umbTreeStore', store);
|
||||
});
|
||||
|
||||
@@ -14,6 +14,7 @@ export class UmbTreeDocumentsElement extends UmbContextProviderMixin(UmbContextC
|
||||
|
||||
this._registerTreeItemActions();
|
||||
|
||||
// TODO: how do we best expose the tree api to the tree navigator element?
|
||||
this.consumeContext('umbDocumentStore', (store: UmbDocumentStore) => {
|
||||
this.provideContext('umbTreeStore', store);
|
||||
});
|
||||
|
||||
@@ -11,6 +11,7 @@ export class UmbTreeMediaTypes extends UmbContextConsumerMixin(UmbContextProvide
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: how do we best expose the tree api to the tree navigator element?
|
||||
this.consumeContext('umbMediaTypeStore', (store: UmbMediaTypeStore) => {
|
||||
this.provideContext('umbTreeStore', store);
|
||||
});
|
||||
|
||||
@@ -11,6 +11,7 @@ export class UmbTreeMediaElement extends UmbContextProviderMixin(UmbContextConsu
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: how do we best expose the tree api to the tree navigator element?
|
||||
this.consumeContext('umbMediaStore', (store: UmbMediaStore) => {
|
||||
this.provideContext('umbTreeStore', store);
|
||||
});
|
||||
|
||||
@@ -10,6 +10,7 @@ export class UmbTreeMemberGroups extends UmbContextProviderMixin(UmbContextConsu
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: how do we best expose the tree api to the tree navigator element?
|
||||
this.consumeContext('umbMemberGroupStore', (store: UmbMemberGroupStore) => {
|
||||
this.provideContext('umbTreeStore', store);
|
||||
});
|
||||
|
||||
@@ -11,6 +11,7 @@ export class UmbTreeMemberTypes extends UmbContextConsumerMixin(UmbContextProvid
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: how do we best expose the tree api to the tree navigator element?
|
||||
this.consumeContext('umbMemberTypeStore', (store: UmbMemberTypeStore) => {
|
||||
this.provideContext('umbTreeStore', store);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user