(xhr)
| 1163 | } |
| 1164 | |
| 1165 | _getFilesWithXhr(xhr) { |
| 1166 | let files; |
| 1167 | return (files = this.files |
| 1168 | .filter((file) => file.xhr === xhr) |
| 1169 | .map((file) => file)); |
| 1170 | } |
| 1171 | |
| 1172 | // Cancels the file upload and sets the status to CANCELED |
| 1173 | // **if** the file is actually being uploaded. |