Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: import router module to not found component (#8821)

shamoon01207a284d37
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() {}