mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
removed the concept of prerender strategies. rehydrate is the default now
This commit is contained in:
@@ -6,13 +6,11 @@ let actionCounter = 0;
|
||||
|
||||
export function debugMetaReducer(reducer) {
|
||||
return (state, action) => {
|
||||
if (isNotEmpty(console.debug)) {
|
||||
actionCounter++;
|
||||
console.debug('@ngrx action', actionCounter, action.type);
|
||||
console.debug('state', state);
|
||||
console.debug('action', action);
|
||||
console.debug('------------------------------------');
|
||||
}
|
||||
actionCounter++;
|
||||
console.log('@ngrx action', actionCounter, action.type);
|
||||
console.log('state', JSON.stringify(state));
|
||||
console.log('action', JSON.stringify(action));
|
||||
console.log('------------------------------------');
|
||||
return reducer(state, action);
|
||||
}
|
||||
}
|
||||
|
@@ -10,6 +10,5 @@ export interface GlobalConfig extends Config {
|
||||
cache: CacheConfig;
|
||||
universal: UniversalConfig;
|
||||
logDirectory: string;
|
||||
prerenderStrategy: string;
|
||||
debug: boolean;
|
||||
}
|
||||
|
Reference in New Issue
Block a user