client: fix action name

This commit is contained in:
Matteo Pagliazzi
2016-12-12 21:05:51 +01:00
parent 90a9e8e192
commit e2c07e458d

View File

@@ -44,8 +44,8 @@ let userDataWatcher = store.watch(state => [state.user, state.tasks], ([user, ta
// Load the user and the user tasks
Promise.all([
store.dispatch('user.fetch'),
store.dispatch('tasks.fetchUserTasks'),
store.dispatch('user:fetch'),
store.dispatch('tasks:fetchUserTasks'),
]).catch(() => {
alert('Impossible to fetch user. Copy into localStorage a valid habit-mobile-settings object.');
});