>(this._collectionContext.selection, (selection) => {
@@ -143,7 +143,13 @@ export class UmbCollectionViewsMediaGridElement extends UmbContextConsumerMixin(
@file-change=${(e: any) => console.log(e)}
label="Drop files here"
accept="">
- ${repeat(this._mediaItems, (file) => this._renderMediaItem(file))}
+
+ ${repeat(
+ this._mediaItems,
+ (file) => file.key,
+ (file) => this._renderMediaItem(file)
+ )}
+
`;
}
}