aboutsummaryrefslogtreecommitdiff
path: root/src/components/lists_new/lists_new.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/lists_new/lists_new.js')
-rw-r--r--src/components/lists_new/lists_new.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/lists_new/lists_new.js b/src/components/lists_new/lists_new.js
index 63dc28ad..a04b409e 100644
--- a/src/components/lists_new/lists_new.js
+++ b/src/components/lists_new/lists_new.js
@@ -69,8 +69,8 @@ const ListsNew = {
// and "updating the accounts on the list".
this.$store.dispatch('createList', { title: this.title })
.then((list) => {
- this.$store.dispatch('setListAccounts', { id: list.id, accountIds: this.selectedUserIds })
- this.$router.push({ name: 'lists-timeline', params: { id: list.id } })
+ this.$store.dispatch('setListAccounts', { listId: list.id, accountIds: this.selectedUserIds })
+ this.$router.push({ name: 'lists-timeline', params: { listId: list.id } })
})
}
}