diff options
| author | Henry Jameson <me@hjkos.com> | 2022-08-17 00:58:05 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-08-17 00:58:05 +0300 |
| commit | b4f4b370d406faf69be5c414ce394b608d8792f5 (patch) | |
| tree | d773c22eef8c4bcd96625594eaab75b670f93229 /src/components/lists_edit/lists_edit.js | |
| parent | 77dcbe641c5dbc96ab3fcdde98ddf668fec1ecae (diff) | |
forgot to actually add add/remove methods, lel. remove some consolelogs
Diffstat (limited to 'src/components/lists_edit/lists_edit.js')
| -rw-r--r-- | src/components/lists_edit/lists_edit.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/lists_edit/lists_edit.js b/src/components/lists_edit/lists_edit.js index b1516af0..533bceb9 100644 --- a/src/components/lists_edit/lists_edit.js +++ b/src/components/lists_edit/lists_edit.js @@ -94,10 +94,10 @@ const ListsNew = { return this.addedUserIds.has(user.id) }, addUser (user) { - // this.selectedUserIds.push(user.id) + this.$store.dispatch('addListAccount', { accountId: this.user.id, listId: this.id }) }, removeUser (userId) { - // this.selectedUserIds = this.selectedUserIds.filter(id => id !== userId) + this.$store.dispatch('removeListAccount', { accountId: this.user.id, listId: this.id }) }, onSearchLoading (results) { this.searchLoading = true |
