Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

state.path is null which causes store-log-monitor to error on a reset/revert #26

Closed
avoskresensky opened this issue Sep 19, 2016 · 1 comment
Assignees
Labels

Comments

@avoskresensky
Copy link

This is related to #14 and #24.
After the fix made in v1.2.4 store-log-monitor still crashes but for a different reason.
The error is now inside Router.navigateByUrl which is being passed a null which it cannot handle.

The fix seems to be pretty simple: listenForStoreChanges function

//newPath$.subscribe(url => router.navigateByUrl(url));
newPath$.subscribe(url => url && router.navigateByUrl(url));

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants