UUI version corrections

This commit is contained in:
Niels Lyngsø
2024-09-12 12:59:12 +02:00
parent fed4f8a29e
commit 2bb49ca77c
2 changed files with 2 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ export class UmbMockEntityTreeManager<T extends { id: string; parent?: { id: str
const destinationItem = this.#db.read(destinationId);
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> = [];
ids.forEach((id) => {

View File

@@ -47,11 +47,10 @@ export class UmbRefListBlockElement extends UmbLitElement {
}
override render() {
// TODO: apply `slot="name"` to the `umb-ufm-render` element, when UUI supports it. [NL]
return html`
<uui-ref-node standalone href=${this._workspaceEditPath ?? '#'}>
<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>
`;
}