From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 11 Mar 2022 04:59:09 +0000 (-0800) Subject: Refactor uploads to service, working global dd X-Git-Tag: beta-1.7.0-rc1~20^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b9988d0583eccb4f3b050f43dcac3361763dfe;p=thirdparty%2Fpaperless-ngx.git Refactor uploads to service, working global dd --- diff --git a/src-ui/src/app/app.component.ts b/src-ui/src/app/app.component.ts index f8c98fbc77..e0581ca322 100644 --- a/src-ui/src/app/app.component.ts +++ b/src-ui/src/app/app.component.ts @@ -1,5 +1,11 @@ import { SettingsService, SETTINGS_KEYS } from './services/settings.service' -import { Component, OnDestroy, OnInit } from '@angular/core' +import { + Component, + OnDestroy, + OnInit, + Renderer2, + RendererFactory2, +} from '@angular/core' import { Router } from '@angular/router' import { Subscription } from 'rxjs' import { ConsumerStatusService } from './services/consumer-status.service' diff --git a/src-ui/src/app/services/upload-documents.service.spec.ts b/src-ui/src/app/services/upload-documents.service.spec.ts new file mode 100644 index 0000000000..de4f6bb2e5 --- /dev/null +++ b/src-ui/src/app/services/upload-documents.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { UploadDocumentsService } from './upload-documents.service'; + +describe('UploadDocumentsService', () => { + let service: UploadDocumentsService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(UploadDocumentsService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +});