mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Removed providedIn attribute for services that don't need
This commit is contained in:
@@ -29,6 +29,7 @@ import {
|
||||
locationProvider,
|
||||
LocationToken
|
||||
} from '../../app/core/services/browser-hard-redirect.service';
|
||||
import { LocaleService } from '../../app/core/locale/locale.service';
|
||||
|
||||
export const REQ_KEY = makeStateKey<string>('req');
|
||||
|
||||
@@ -90,6 +91,10 @@ export function getRequest(transferState: TransferState): any {
|
||||
provide: SubmissionService,
|
||||
useClass: SubmissionService
|
||||
},
|
||||
{
|
||||
provide: LocaleService,
|
||||
useClass: LocaleService
|
||||
},
|
||||
{
|
||||
provide: HardRedirectService,
|
||||
useClass: BrowserHardRedirectService,
|
||||
|
Reference in New Issue
Block a user