mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 19:13:08 +00:00
Merge remote-tracking branch 'remotes/origin/master' into authentication
# Conflicts: # src/app/+search-page/search-filters/search-filter/search-filter.component.ts # src/app/+search-page/search-filters/search-filter/search-filter.service.ts # src/app/+search-page/search-service/search.service.spec.ts # src/app/+search-page/search-service/search.service.ts # src/app/app.component.spec.ts # src/app/app.component.ts # src/app/core/cache/response-cache.models.ts # src/app/core/core.effects.ts # src/app/core/core.module.ts # src/app/core/shared/hal-endpoint.service.ts # src/app/shared/services/route.service.ts # src/app/shared/view-mode-switch/view-mode-switch.component.spec.ts # src/modules/app/browser-app.module.ts # src/modules/app/server-app.module.ts
This commit is contained in:
@@ -20,6 +20,9 @@ import { ServerCookieService } from '../../app/shared/services/server-cookie.ser
|
||||
import { AuthService } from '../../app/core/auth/auth.service';
|
||||
import { ServerAuthService } from '../../app/core/auth/server-auth.service';
|
||||
|
||||
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
|
||||
import { AngularticsMock } from '../../app/shared/mocks/mock-angulartics.service';
|
||||
|
||||
export function createTranslateLoader() {
|
||||
return new TranslateUniversalLoader('dist/assets/i18n/', '.json');
|
||||
}
|
||||
@@ -46,6 +49,7 @@ export function createTranslateLoader() {
|
||||
AppModule
|
||||
],
|
||||
providers: [
|
||||
{ provide: Angulartics2GoogleAnalytics, useClass: AngularticsMock },
|
||||
{
|
||||
provide: AuthService,
|
||||
useClass: ServerAuthService
|
||||
|
Reference in New Issue
Block a user