remove ts-ignore

This commit is contained in:
Jesper Møller Jensen
2023-01-13 02:55:54 +01:00
parent 50dc0f525d
commit a3d218e494

View File

@@ -87,9 +87,9 @@ export class UmbCollectionViewMediaTableElement extends UmbLitElement {
});
}
private _createTableItems(mediaItems: Array<MediaDetails>) {
// TODO: I guess the type error below will go away when we get an entity based MediaDetails model instead of tree based.
// @ts-ignore // TODO: Remove ts-ignore when Media type gets fixed.
private _createTableItems(mediaItems: Array<any>) {
// TODO: this should use the MediaDetails type, but for now that results in type errors.
// TODO: I guess the type error will go away when we get an entity based MediaDetails model instead of tree based.
this._tableItems = mediaItems.map((item) => {
return {
key: item.key,