umb-property: removed the outer html directive
as it wasn't adding any extra markup.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { umbExtensionsRegistry, type ManifestPropertyEditorUi } from '../../extension-registry/index.js';
|
||||
import { UmbPropertyContext } from './property.context.js';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { css, html, customElement, property, state, ifDefined } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { css, html, customElement, property, state, ifDefined, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { createExtensionElement } from '@umbraco-cms/backoffice/extension-api';
|
||||
import type { UmbObserverController } from '@umbraco-cms/backoffice/observable-api';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
@@ -223,12 +223,12 @@ export class UmbPropertyElement extends UmbLitElement {
|
||||
}
|
||||
|
||||
private _renderPropertyActionMenu() {
|
||||
return html`${this._propertyEditorUiAlias
|
||||
return this._propertyEditorUiAlias
|
||||
? html`<umb-property-action-menu
|
||||
slot="action-menu"
|
||||
id="action-menu"
|
||||
.propertyEditorUiAlias=${this._propertyEditorUiAlias}></umb-property-action-menu>`
|
||||
: ''}`;
|
||||
: nothing;
|
||||
}
|
||||
|
||||
static styles = [
|
||||
|
||||
Reference in New Issue
Block a user