mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix: resolve some silly frontend test things
This commit is contained in:
		| @@ -117,7 +117,6 @@ export class StoragePathEditDialogComponent | |||||||
|     this.foundDocuments$ = concat( |     this.foundDocuments$ = concat( | ||||||
|       of([]), // default items |       of([]), // default items | ||||||
|       this.documentsInput$.pipe( |       this.documentsInput$.pipe( | ||||||
|         tap(() => console.log('searching')), |  | ||||||
|         distinctUntilChanged(), |         distinctUntilChanged(), | ||||||
|         takeUntil(this.unsubscribeNotifier), |         takeUntil(this.unsubscribeNotifier), | ||||||
|         tap(() => (this.loading = true)), |         tap(() => (this.loading = true)), | ||||||
|   | |||||||
| @@ -85,6 +85,7 @@ import { PdfViewerModule } from 'ng2-pdf-viewer' | |||||||
| import { DataType } from 'src/app/data/datatype' | import { DataType } from 'src/app/data/datatype' | ||||||
| import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http' | import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http' | ||||||
| import { TagService } from 'src/app/services/rest/tag.service' | import { TagService } from 'src/app/services/rest/tag.service' | ||||||
|  | import { TextAreaComponent } from '../common/input/textarea/textarea.component' | ||||||
|  |  | ||||||
| const doc: Document = { | const doc: Document = { | ||||||
|   id: 3, |   id: 3, | ||||||
| @@ -183,6 +184,7 @@ describe('DocumentDetailComponent', () => { | |||||||
|         SplitConfirmDialogComponent, |         SplitConfirmDialogComponent, | ||||||
|         RotateConfirmDialogComponent, |         RotateConfirmDialogComponent, | ||||||
|         DeletePagesConfirmDialogComponent, |         DeletePagesConfirmDialogComponent, | ||||||
|  |         TextAreaComponent, | ||||||
|       ], |       ], | ||||||
|       imports: [ |       imports: [ | ||||||
|         RouterModule.forRoot(routes), |         RouterModule.forRoot(routes), | ||||||
|   | |||||||
| @@ -66,8 +66,6 @@ export class MailComponent | |||||||
|       .subscribe({ |       .subscribe({ | ||||||
|         next: (r) => { |         next: (r) => { | ||||||
|           this.mailAccounts = r.results |           this.mailAccounts = r.results | ||||||
|           console.log(this.mailAccounts, this.oAuthAccountId) |  | ||||||
|  |  | ||||||
|           if (this.oAuthAccountId) { |           if (this.oAuthAccountId) { | ||||||
|             this.editMailAccount( |             this.editMailAccount( | ||||||
|               this.mailAccounts.find( |               this.mailAccounts.find( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon