diff --git a/docs/advanced_usage.md b/docs/advanced_usage.md index 76e33b3f1..f7b31c919 100644 --- a/docs/advanced_usage.md +++ b/docs/advanced_usage.md @@ -476,7 +476,7 @@ a document with an ASN of 355 would be placed in `somepath/asn-201-400/asn-3xx/T /{{ title }} ``` -For a PDF document, it would result in `pdfs/Title.pdf`, but for a PNG document, the path would be `pngs/Title.pdf`. +For a PDF document, it would result in `pdfs/Title.pdf`, but for a PNG document, the path would be `pngs/Title.png`. To use custom fields: diff --git a/src-ui/src/app/components/manage/mail/mail.component.html b/src-ui/src/app/components/manage/mail/mail.component.html index fc786840c..16e8e88fb 100644 --- a/src-ui/src/app/components/manage/mail/mail.component.html +++ b/src-ui/src/app/components/manage/mail/mail.component.html @@ -45,7 +45,7 @@
  • -
    - + - - + +
    @@ -82,7 +82,7 @@
    -
    @@ -126,7 +126,7 @@ @for (rule of mailRules; track rule) {
  • -
    +
    {{rule.order}}
    {{(mailAccountService.getCached(rule.account) | async)?.name}}
    @@ -144,9 +144,9 @@
    - + - +
    diff --git a/src-ui/src/app/components/not-found/not-found.component.spec.ts b/src-ui/src/app/components/not-found/not-found.component.spec.ts index 58861da44..219c6c1f9 100644 --- a/src-ui/src/app/components/not-found/not-found.component.spec.ts +++ b/src-ui/src/app/components/not-found/not-found.component.spec.ts @@ -2,7 +2,9 @@ import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http' import { provideHttpClientTesting } from '@angular/common/http/testing' import { ComponentFixture, TestBed } from '@angular/core/testing' import { By } from '@angular/platform-browser' +import { RouterModule } from '@angular/router' import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons' +import { routes } from 'src/app/app-routing.module' import { LogoComponent } from '../common/logo/logo.component' import { NotFoundComponent } from './not-found.component' @@ -16,6 +18,7 @@ describe('NotFoundComponent', () => { NgxBootstrapIconsModule.pick(allIcons), NotFoundComponent, LogoComponent, + RouterModule.forRoot(routes), ], providers: [ provideHttpClient(withInterceptorsFromDi()), diff --git a/src-ui/src/app/components/not-found/not-found.component.ts b/src-ui/src/app/components/not-found/not-found.component.ts index dc381d265..44cd103ec 100644 --- a/src-ui/src/app/components/not-found/not-found.component.ts +++ b/src-ui/src/app/components/not-found/not-found.component.ts @@ -1,4 +1,5 @@ import { Component } from '@angular/core' +import { RouterModule } from '@angular/router' import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons' import { LogoComponent } from '../common/logo/logo.component' @@ -6,7 +7,7 @@ import { LogoComponent } from '../common/logo/logo.component' selector: 'pngx-not-found', templateUrl: './not-found.component.html', styleUrls: ['./not-found.component.scss'], - imports: [LogoComponent, NgxBootstrapIconsModule], + imports: [LogoComponent, NgxBootstrapIconsModule, RouterModule], }) export class NotFoundComponent { constructor() {}