Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/datasetSyncAtLogin'
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Breznicky committed Jun 2, 2017
2 parents caf0a30 + 162b427 commit 20926a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flood-web-viewer",
"version": "2.2.2",
"version": "2.2.3",
"release": "Walleye",
"site_url": "map.texasflood.org",
"description": "Texas flood information web viewer",
Expand Down
2 changes: 2 additions & 0 deletions src/actions/UserActions.es
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export function userLogin(username, password) {
dispatch(showSnackbar(`Hello ${username}!!`))
dispatch(loginSuccessful())
dispatch(getUserSubscriptions(FloodAppUser.idToken, ""))
FloodAppUser.syncDataset()
}
else {
dispatch(getSubscriptionsError())
Expand Down Expand Up @@ -293,6 +294,7 @@ export function retrieveUser() {
dispatch(showSnackbar(`Hello ${username}!!`))
dispatch(loginSuccessful())
dispatch(getUserSubscriptions(FloodAppUser.idToken, ""))
FloodAppUser.syncDataset()
}
})
}
Expand Down

0 comments on commit 20926a3

Please sign in to comment.