mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
client: fix action name
This commit is contained in:
@@ -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.');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user