header, isNavBarCollapsed observable: filter out undefined state that can occur when using AoT compilation

This commit is contained in:
Art Lowel
2016-12-13 10:14:47 +01:00
parent 54f3cbc41b
commit 2846dc9446
5 changed files with 15 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import { EffectsModule } from "@ngrx/effects";
import { HeaderEffects } from "./header/header.effects";
export default [
export const effects = [
EffectsModule.run(HeaderEffects)
];