Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 4e5a42c

Browse files
committed
no repeat, we only want one manifest for this
1 parent efddd28 commit 4e5a42c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/packages/block/block-type/components/block-type-custom-view-guide/block-type-custom-view-guide.element.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,10 @@ export class UmbBlockTypeCustomViewGuideElement extends UmbLitElement {
105105
override render() {
106106
return this._manifests && this._manifests.length > 0
107107
? html` <div>
108-
${repeat(
109-
this._manifests,
110-
(x) => x.alias,
111-
(x) => html`
112-
<umb-ref-manifest standalone @open=${() => this.#viewManifest(x)} .manifest=${x}></umb-ref-manifest>
113-
`,
114-
)}
108+
<umb-ref-manifest
109+
standalone
110+
@open=${() => this.#viewManifest(this._manifests![0])}
111+
.manifest=${this._manifests[0]}></umb-ref-manifest>
115112
</div>`
116113
: html`<uui-button
117114
id="add-button"

0 commit comments

Comments
 (0)