a few move

This commit is contained in:
Niels Lyngsø
2024-02-08 10:53:02 +01:00
parent 1be5cd958c
commit 334478e04b
3 changed files with 5 additions and 10 deletions

View File

@@ -76,7 +76,7 @@ export class UmbInputDataTypeElement extends FormControlMixin(UmbLitElement) {
// TODO: Could use something smarter for workspace modals, as I would like to avoid setting the rest of the URL here:
this.#editDataTypeModal?.open({}, 'edit/' + this._ids![0]);
}}
border>
standalone>
<!-- TODO: Get the icon from property editor UI -->
<uui-icon name="${'document'}" slot="icon"></uui-icon>
<uui-action-bar slot="actions">

View File

@@ -2,12 +2,8 @@ import { UMB_DATA_TYPE_WORKSPACE_CONTEXT } from '../../data-type-workspace.conte
import type { UmbDataTypeDetailModel } from '../../../types.js';
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
import { css, html, customElement, state } from '@umbraco-cms/backoffice/external/lit';
import type {
UmbModalManagerContext} from '@umbraco-cms/backoffice/modal';
import {
UMB_MODAL_MANAGER_CONTEXT,
UMB_PROPERTY_EDITOR_UI_PICKER_MODAL,
} from '@umbraco-cms/backoffice/modal';
import type { UmbModalManagerContext } from '@umbraco-cms/backoffice/modal';
import { UMB_MODAL_MANAGER_CONTEXT, UMB_PROPERTY_EDITOR_UI_PICKER_MODAL } from '@umbraco-cms/backoffice/modal';
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-registry';
@@ -95,13 +91,12 @@ export class UmbDataTypeDetailsWorkspaceViewEditElement extends UmbLitElement im
<umb-property-layout label="Property Editor" description="Select a property editor">
${this._propertyEditorUiAlias && this._propertyEditorSchemaAlias
? html`
<!-- TODO: border is a bit weird attribute name. Maybe single or standalone would be better? -->
<umb-ref-property-editor-ui
slot="editor"
name=${this._propertyEditorUiName ?? ''}
alias=${this._propertyEditorUiAlias}
property-editor-schema-alias=${this._propertyEditorSchemaAlias}
border>
standalone>
${this._propertyEditorUiIcon
? html` <uui-icon name="${this._propertyEditorUiIcon}" slot="icon"></uui-icon> `
: ''}

View File

@@ -136,7 +136,7 @@ export class UmbPermissionsModalElement extends UmbLitElement {
name=${ifDefined(userGroup.name)}
.userPermissionAliases=${userGroup.permissions}
@open=${() => this.#openUserPermissionsModal(userGroup.id)}
border>
standalone>
${userGroup.icon ? html`<uui-icon slot="icon" name=${userGroup.icon}></uui-icon>` : nothing}
</umb-user-group-ref>`,
)}