forked from MapComplete/MapComplete
Refactoring: split 'Utils' into multiple files; fix some stray uppercase-method names
This commit is contained in:
parent
81be4db044
commit
3ec89826e4
97 changed files with 884 additions and 921 deletions
|
|
@ -15,6 +15,7 @@ import NoteCommentElement from "../../UI/Popup/Notes/NoteCommentElement"
|
|||
import OsmObjectDownloader from "../Osm/OsmObjectDownloader"
|
||||
import ExifReader from "exifreader"
|
||||
import { Utils } from "../../Utils"
|
||||
import { Lists } from "../../Utils/Lists"
|
||||
|
||||
/**
|
||||
* The ImageUploadManager has a
|
||||
|
|
@ -176,7 +177,7 @@ export class ImageUploadManager {
|
|||
const failed: Set<ImageUploadArguments> = new Set()
|
||||
this.uploadingAll = true
|
||||
do {
|
||||
queue = Utils.NoNull(this._queue.imagesInQueue.data ?? []).filter(
|
||||
queue = Lists.noNull(this._queue.imagesInQueue.data ?? []).filter(
|
||||
(item) => !failed.has(item)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue