[DURACOM-191] Remove lookup-by-id.module

This commit is contained in:
Giuseppe Digilio
2024-03-13 16:06:23 +01:00
parent 5edef2d782
commit 2cabfc7752
2 changed files with 2 additions and 20 deletions

View File

@@ -3,6 +3,7 @@ import {
UrlSegment,
} from '@angular/router';
import { DsoRedirectService } from '../core/data/dso-redirect.service';
import { isNotEmpty } from '../shared/empty.util';
import { LookupGuard } from './lookup-guard';
import { ThemedObjectNotFoundComponent } from './objectnotfound/themed-objectnotfound.component';
@@ -12,6 +13,7 @@ export const ROUTES: Route[] = [
matcher: urlMatcher,
providers: [
LookupGuard,
DsoRedirectService,
],
canActivate: [LookupGuard],
component: ThemedObjectNotFoundComponent,

View File

@@ -1,20 +0,0 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { DsoRedirectService } from '../core/data/dso-redirect.service';
import { ObjectNotFoundComponent } from './objectnotfound/objectnotfound.component';
import { ThemedObjectNotFoundComponent } from './objectnotfound/themed-objectnotfound.component';
@NgModule({
imports: [
CommonModule,
ObjectNotFoundComponent,
ThemedObjectNotFoundComponent,
],
providers: [
DsoRedirectService,
],
})
export class LookupIdModule {
}