remove keyboard shortcuts from member type
This commit is contained in:
@@ -3,7 +3,6 @@ import { css, html, customElement, state, ifDefined } from '@umbraco-cms/backoff
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import type { UUIInputElement } from '@umbraco-cms/backoffice/external/uui';
|
||||
import { UUIInputEvent } from '@umbraco-cms/backoffice/external/uui';
|
||||
import type { UmbModalManagerContext } from '@umbraco-cms/backoffice/modal';
|
||||
import { UMB_ICON_PICKER_MODAL, UMB_MODAL_MANAGER_CONTEXT } from '@umbraco-cms/backoffice/modal';
|
||||
import { generateAlias } from '@umbraco-cms/backoffice/utils';
|
||||
|
||||
@@ -27,8 +26,6 @@ export class UmbMemberTypeWorkspaceEditorElement extends UmbLitElement {
|
||||
|
||||
#workspaceContext?: typeof UMB_MEMBER_TYPE_WORKSPACE_CONTEXT.TYPE;
|
||||
|
||||
private _modalContext?: UmbModalManagerContext;
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
@@ -36,10 +33,6 @@ export class UmbMemberTypeWorkspaceEditorElement extends UmbLitElement {
|
||||
this.#workspaceContext = instance;
|
||||
this.#observeMemberType();
|
||||
});
|
||||
|
||||
this.consumeContext(UMB_MODAL_MANAGER_CONTEXT, (instance) => {
|
||||
this._modalContext = instance;
|
||||
});
|
||||
}
|
||||
|
||||
#observeMemberType() {
|
||||
@@ -142,20 +135,6 @@ export class UmbMemberTypeWorkspaceEditorElement extends UmbLitElement {
|
||||
</uui-input>
|
||||
</uui-input>
|
||||
</div>
|
||||
|
||||
<div slot="footer-info">
|
||||
<!-- TODO: Shortcuts Modal? -->
|
||||
<uui-button label="Show keyboard shortcuts">
|
||||
Keyboard Shortcuts
|
||||
<uui-keyboard-shortcut>
|
||||
<uui-key>ALT</uui-key>
|
||||
+
|
||||
<uui-key>shift</uui-key>
|
||||
+
|
||||
<uui-key>k</uui-key>
|
||||
</uui-keyboard-shortcut>
|
||||
</uui-button>
|
||||
</div>
|
||||
</umb-workspace-editor>
|
||||
`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user