mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
change TransferState import
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { makeStateKey } from '@angular/platform-browser';
|
||||
import { makeStateKey } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Represents ngx-translate messages in different languages in the TransferState
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { TranslateLoader } from '@ngx-translate/core';
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { TransferState } from '@angular/platform-browser';
|
||||
import { TransferState } from '@angular/core';
|
||||
import { NGX_TRANSLATE_STATE, NgxTranslateState } from './ngx-translate-state';
|
||||
import { hasValue } from '../app/shared/empty.util';
|
||||
import { map } from 'rxjs/operators';
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { TranslateLoader } from '@ngx-translate/core';
|
||||
import { Observable, of as observableOf } from 'rxjs';
|
||||
import { readFileSync } from 'fs';
|
||||
import { TransferState } from '@angular/platform-browser';
|
||||
import { TransferState } from '@angular/core';
|
||||
import { NGX_TRANSLATE_STATE, NgxTranslateState } from './ngx-translate-state';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user