initial work of entity-actions-bundle
This commit is contained in:
@@ -20,14 +20,13 @@ export class UmbSectionSidebarContext {
|
||||
this.#host = host;
|
||||
}
|
||||
|
||||
toggleContextMenu(entityType: string, unique: string | null | undefined, headline: string) {
|
||||
console.log('open for ', entityType, unique, headline);
|
||||
toggleContextMenu(entityType: string, unique: string | null | undefined, headline: string | undefined) {
|
||||
this.openContextMenu(entityType, unique, headline);
|
||||
}
|
||||
|
||||
// TODO: we wont get notified about tree item name changes because we don't have a subscription
|
||||
// we need to figure out how we best can handle this when we only know the entity and unique id
|
||||
openContextMenu(entityType: string, unique: string | null | undefined, headline: string) {
|
||||
openContextMenu(entityType: string, unique: string | null | undefined, headline: string | undefined) {
|
||||
this.#entityType.next(entityType);
|
||||
this.#unique.next(unique);
|
||||
this.#headline.next(headline);
|
||||
|
||||
Reference in New Issue
Block a user