Commit 020a7f86 authored by Ben Hayward's avatar Ben Hayward

Fix formtting

1 merge request!587[Sprint/PinkPanther](fix): Upload cancelling #2083
Pipeline #88331087 canceled with stages
in 2 minutes and 2 seconds
......@@ -6,7 +6,7 @@ import {
HttpEvent,
HttpEventType,
} from '@angular/common/http';
import { BehaviorSubject, of } from 'rxjs';
import { BehaviorSubject, Subscription } from 'rxjs';
import { map, tap, last } from 'rxjs/operators';
import { Client, Upload } from './api';
......@@ -18,15 +18,15 @@ export class AttachmentService {
private attachment: any = {};
public progress: BehaviorSubject<number> = new BehaviorSubject(0);
public response: BehaviorSubject<HttpEvent<any>>;
private uploadSubscription: Subscription;
response: any;
private container: any = {};
private accessId: any = 2;
private previewTimeout: any = null;
private pendingDelete: boolean = false;
uploadSubscription: any;
private xhr: XMLHttpRequest = null;
static _(session: Session, client: Client, upload: Upload, http: HttpClient) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment