mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[DURACOM-191] Remove lookup-by-id.module
This commit is contained in:
@@ -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,
|
||||
|
@@ -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 {
|
||||
|
||||
}
|
Reference in New Issue
Block a user