aboutsummaryrefslogtreecommitdiff
path: root/src/components/lists_edit
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/lists_edit')
-rw-r--r--src/components/lists_edit/lists_edit.js4
-rw-r--r--src/components/lists_edit/lists_edit.vue2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/lists_edit/lists_edit.js b/src/components/lists_edit/lists_edit.js
index c22d1323..c33659df 100644
--- a/src/components/lists_edit/lists_edit.js
+++ b/src/components/lists_edit/lists_edit.js
@@ -95,10 +95,10 @@ const ListsNew = {
return this.addedUserIds.has(user.id)
},
addUser (user) {
- this.$store.dispatch('addListAccount', { accountId: this.user.id, listId: this.id })
+ this.$store.dispatch('addListAccount', { accountId: user.id, listId: this.id })
},
removeUser (userId) {
- this.$store.dispatch('removeListAccount', { accountId: this.user.id, listId: this.id })
+ this.$store.dispatch('removeListAccount', { accountId: userId, listId: this.id })
},
onSearchLoading (results) {
this.searchLoading = true
diff --git a/src/components/lists_edit/lists_edit.vue b/src/components/lists_edit/lists_edit.vue
index 6521aba6..eec0f978 100644
--- a/src/components/lists_edit/lists_edit.vue
+++ b/src/components/lists_edit/lists_edit.vue
@@ -164,7 +164,7 @@
<script src="./lists_edit.js"></script>
<style lang="scss">
-@import '../../_variables.scss';
+@import "../../variables";
.ListEdit {
--panel-body-padding: 0.5em;