]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: resolve some silly frontend test things
authorshamoon <4887959+shamoon@users.noreply.github.com>
Fri, 11 Oct 2024 03:38:24 +0000 (20:38 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Fri, 11 Oct 2024 03:38:24 +0000 (20:38 -0700)
src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts
src-ui/src/app/components/document-detail/document-detail.component.spec.ts
src-ui/src/app/components/manage/mail/mail.component.ts

index a530502dc73545561d459fa4326f9bb68bf7c611..214f08f117d22931b41612ec744cf18c7760d038 100644 (file)
@@ -117,7 +117,6 @@ export class StoragePathEditDialogComponent
     this.foundDocuments$ = concat(
       of([]), // default items
       this.documentsInput$.pipe(
-        tap(() => console.log('searching')),
         distinctUntilChanged(),
         takeUntil(this.unsubscribeNotifier),
         tap(() => (this.loading = true)),
index c9ba5dc6a154e58b4a050ce5370a7e6f418d115a..24ef2ffad0cc9f30db5d181745bbe8fe74b184f1 100644 (file)
@@ -85,6 +85,7 @@ import { PdfViewerModule } from 'ng2-pdf-viewer'
 import { DataType } from 'src/app/data/datatype'
 import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
 import { TagService } from 'src/app/services/rest/tag.service'
+import { TextAreaComponent } from '../common/input/textarea/textarea.component'
 
 const doc: Document = {
   id: 3,
@@ -183,6 +184,7 @@ describe('DocumentDetailComponent', () => {
         SplitConfirmDialogComponent,
         RotateConfirmDialogComponent,
         DeletePagesConfirmDialogComponent,
+        TextAreaComponent,
       ],
       imports: [
         RouterModule.forRoot(routes),
index 0e72d7b92a76f58219281ebe14bd0ccf7f7fdef9..f1c30674baec611e72339ba56a093a14e96accd3 100644 (file)
@@ -66,8 +66,6 @@ export class MailComponent
       .subscribe({
         next: (r) => {
           this.mailAccounts = r.results
-          console.log(this.mailAccounts, this.oAuthAccountId)
-
           if (this.oAuthAccountId) {
             this.editMailAccount(
               this.mailAccounts.find(