Skip to content

Commit c743c26

Browse files
committed
merge conflict solved
2 parents a2d2512 + ff7ddbb commit c743c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/angular-file-uploader/src/lib/angular-file-uploader.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export class AngularFileUploaderComponent implements OnInit, OnChanges {
224224
xhr.onreadystatechange = evnt => {
225225
//console.log("onready");
226226
if (xhr.readyState === 4) {
227-
if (xhr.status !== 200) {
227+
if (xhr.status !== 200 && xhr.status !== 201) {
228228
isError = true;
229229
this.progressBarShow = false;
230230
this.uploadBtn = false;

0 commit comments

Comments
 (0)