mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: resolve some silly frontend test things
This commit is contained in:
parent
073c42984a
commit
e78d758656
src-ui/src/app/components
common/edit-dialog/storage-path-edit-dialog
document-detail
manage/mail
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user