Skip to content

Commit ec275de

Browse files
committed
fix: apply the temp model which the context uses
1 parent af7b635 commit ec275de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/packages/documents/documents/components/input-document/input-document.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class UmbDocumentPickerInputContext extends UmbPickerInputContext<
2020
UmbDocumentPickerModalData,
2121
UmbDocumentPickerModalValue
2222
> {
23-
#items: Array<UmbDocumentItemModel> = [];
23+
#items: Array<UmbDocumentItemModel & { name: string }> = [];
2424

2525
constructor(host: UmbControllerHost) {
2626
super(host, UMB_DOCUMENT_ITEM_REPOSITORY_ALIAS, UMB_DOCUMENT_PICKER_MODAL);

0 commit comments

Comments
 (0)