diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/collection/views/collection-view-media-table.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/collection/views/collection-view-media-table.element.ts index 8c4ef9c5af..b0a622f966 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/collection/views/collection-view-media-table.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/collection/views/collection-view-media-table.element.ts @@ -87,9 +87,9 @@ export class UmbCollectionViewMediaTableElement extends UmbLitElement { }); } - private _createTableItems(mediaItems: Array) { - // 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) { + // 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,