UUI version corrections
This commit is contained in:
@@ -62,7 +62,7 @@ export class UmbMockEntityTreeManager<T extends { id: string; parent?: { id: str
|
|||||||
const destinationItem = this.#db.read(destinationId);
|
const destinationItem = this.#db.read(destinationId);
|
||||||
if (!destinationItem) throw new Error(`Destination item with id ${destinationId} not found`);
|
if (!destinationItem) throw new Error(`Destination item with id ${destinationId} not found`);
|
||||||
|
|
||||||
// TODO: Notice we don't add numbers to the 'copy' name.
|
// Notice we don't add numbers to the 'copy' name.
|
||||||
const items: Array<any> = [];
|
const items: Array<any> = [];
|
||||||
|
|
||||||
ids.forEach((id) => {
|
ids.forEach((id) => {
|
||||||
|
|||||||
@@ -47,11 +47,10 @@ export class UmbRefListBlockElement extends UmbLitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override render() {
|
override render() {
|
||||||
// TODO: apply `slot="name"` to the `umb-ufm-render` element, when UUI supports it. [NL]
|
|
||||||
return html`
|
return html`
|
||||||
<uui-ref-node standalone href=${this._workspaceEditPath ?? '#'}>
|
<uui-ref-node standalone href=${this._workspaceEditPath ?? '#'}>
|
||||||
<umb-icon slot="icon" .name=${this.icon}></umb-icon>
|
<umb-icon slot="icon" .name=${this.icon}></umb-icon>
|
||||||
<umb-ufm-render inline .markdown=${this.label} .value=${this._content}></umb-ufm-render>
|
<umb-ufm-render slot="name" inline .markdown=${this.label} .value=${this._content}></umb-ufm-render>
|
||||||
</uui-ref-node>
|
</uui-ref-node>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user