FileUploader removeFromQueue should check if item is valid #763
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If you call FileUploader#removeFromQueue with an item not in the queue, then it will remove the last item from the queue.
In this case, index would be -1, so this.queue.splice(index, 1) would remove the last item of the queue.