Skip to content
Snippets Groups Projects
Commit 413cf831 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5718: reset bescheid upload in progress on init

parent 512b4505
Branches
Tags
No related merge requests found
......@@ -924,6 +924,14 @@ describe('BescheidService', () => {
singleCold(createEmptyStateResource()),
);
});
it('should emit empty upload in progress for upload bescheid document in progress', () => {
service.init();
expect(service.getUploadBescheidDocumentInProgress()).toBeObservable(
singleCold({ loading: false }),
);
});
});
describe('create bescheid document', () => {
......
......@@ -152,6 +152,7 @@ export class BescheidService {
);
this.bescheidDocumentFile$.next(createEmptyStateResource());
this.bescheidDocumentUri$.next(null);
this.uploadBescheidDocumentInProgress$.next({ loading: false });
this.uploadedAttachment$.next(createEmptyStateResource());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment