Removed todo's

This commit is contained in:
Pieter Vander Vennet 2021-02-26 14:54:59 +01:00
parent 3586b8eef2
commit a91c3fde69
4 changed files with 5 additions and 6 deletions

View file

@ -52,14 +52,12 @@ export class ImageSearcher extends UIEventSource<{ key: string, url: string }[]>
// By wrapping this in a UIEventSource, we prevent multiple queries of loadWikiData
this._wdItem.addCallback(wdItemContents => {
// TODO HANDLE IMAGES
const images = ImageSearcher.loadWikidata(wdItemContents).map(url => {
return {url: url, key: undefined}
});
AddImages(images);
});
this._commons.addCallback(commonsData => {
// TODO Handle images
const images = ImageSearcher.LoadCommons(commonsData).map(url => {
return {url: url, key: undefined}
});