remove comment
This commit is contained in:
@@ -59,7 +59,6 @@ export class UmbDocumentWorkspaceViewEditPropertiesElement extends UmbLitElement
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: Figure out how to get the magic string for the workspace context.
|
||||
this.consumeContext(UMB_ENTITY_WORKSPACE_CONTEXT, (workspaceContext) => {
|
||||
this._workspaceContext = workspaceContext as UmbDocumentWorkspaceContext;
|
||||
this._observeGroupContainers();
|
||||
|
||||
@@ -69,7 +69,6 @@ export class UmbDocumentWorkspaceViewEditTabElement extends UmbLitElement {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: Figure out how to get the magic string for the workspace context.
|
||||
this.consumeContext(UMB_ENTITY_WORKSPACE_CONTEXT, (workspaceContext) => {
|
||||
this._workspaceContext = workspaceContext as UmbDocumentWorkspaceContext;
|
||||
this._observeTabContainers();
|
||||
|
||||
@@ -40,7 +40,6 @@ export class UmbDocumentWorkspaceViewEditElement extends UmbLitElement {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: Figure out how to get the magic string for the workspace context.
|
||||
this.consumeContext(UMB_ENTITY_WORKSPACE_CONTEXT, (workspaceContext) => {
|
||||
this._workspaceContext = workspaceContext as UmbDocumentWorkspaceContext;
|
||||
this._observeTabs();
|
||||
|
||||
@@ -191,7 +191,6 @@ export class UmbDocumentInfoWorkspaceViewElement extends UmbLitElement {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: Figure out how to get the magic string for the workspace context.
|
||||
this.consumeContext(UMB_ENTITY_WORKSPACE_CONTEXT, (nodeContext) => {
|
||||
this._workspaceContext = nodeContext;
|
||||
this._observeContent();
|
||||
|
||||
@@ -36,7 +36,6 @@ export class UmbWorkspaceViewCollectionElement extends UmbLitElement {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: Figure out how to get the magic string for the workspace context.
|
||||
this.consumeContext(UMB_ENTITY_WORKSPACE_CONTEXT, (nodeContext) => {
|
||||
this._workspaceContext = nodeContext;
|
||||
this._provideWorkspace();
|
||||
|
||||
@@ -18,7 +18,6 @@ export class UmbWorkspaceActionUserGroupSaveElement extends UmbLitElement {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: Figure out how to get the magic string for the workspace context.
|
||||
this.consumeContext(UMB_ENTITY_WORKSPACE_CONTEXT, (instance) => {
|
||||
this._workspaceContext = instance as UmbUserWorkspaceContext;
|
||||
});
|
||||
|
||||
@@ -18,7 +18,6 @@ export class UmbWorkspaceActionUserSaveElement extends UmbLitElement {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
// TODO: Figure out how to get the magic string for the workspace context.
|
||||
this.consumeContext(UMB_ENTITY_WORKSPACE_CONTEXT, (instance) => {
|
||||
this._workspaceContext = instance as UmbUserWorkspaceContext;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user