From 50f5afbce1f2bc4dbd0ddf6c951c7e519dfc6ce3 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 15 Aug 2022 23:19:33 +0300 Subject: add and remove users to/from lists from their profile --- src/components/lists_new/lists_new.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/lists_new') 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 } }) }) } } -- cgit v1.2.3-70-g09d2