Merge typescript-4 branch

This commit is contained in:
Pieter Vander Vennet 2022-09-08 21:31:56 +02:00
commit af76bf9916
7 changed files with 248 additions and 127 deletions

View file

@ -350,7 +350,7 @@ class DeleteabilityChecker {
if (allByMyself.data === null && useTheInternet) {
// We kickoff the download here as it hasn't yet been downloaded. Note that this is mapped onto 'all by myself' above
const hist = OsmObject.DownloadHistory(id).map(versions => versions.map(version => version.tags["_last_edit:contributor:uid"]))
const hist = OsmObject.DownloadHistory(id).map(versions => versions.map(version => Number(version.tags["_last_edit:contributor:uid"])))
hist.addCallbackAndRunD(hist => previousEditors.setData(hist))
}