aboutsummaryrefslogtreecommitdiff
path: root/src/components/lists_new/lists_new.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-08-15 23:19:33 +0300
committerHenry Jameson <me@hjkos.com>2022-08-15 23:19:33 +0300
commit50f5afbce1f2bc4dbd0ddf6c951c7e519dfc6ce3 (patch)
tree200ab58c3c3cebdcf7acf073096881824184eb3c /src/components/lists_new/lists_new.js
parent14292d7ed12a806efcf766895bc1c3aa56fd53f8 (diff)
add and remove users to/from lists from their profile
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 } })
})
}
}