aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/lists_edit/lists_edit.js4
-rw-r--r--src/components/navigation/filter.js2
-rw-r--r--src/components/timeline/timeline.js1
3 files changed, 3 insertions, 4 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
diff --git a/src/components/navigation/filter.js b/src/components/navigation/filter.js
index 71661d6f..31b55486 100644
--- a/src/components/navigation/filter.js
+++ b/src/components/navigation/filter.js
@@ -10,7 +10,7 @@ export const filterNavigation = (list = [], { hasChats, isFederating, isPrivate,
})
}
-export const getListEntries = state => console.log(state.lists) || state.lists.allLists.map(list => ({
+export const getListEntries = state => state.lists.allLists.map(list => ({
name: 'list-' + list.id,
routeObject: { name: 'lists-timeline', params: { id: list.id } },
labelRaw: list.title,
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index ee590c4b..8f6cae66 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -28,7 +28,6 @@ const Timeline = {
'footerSlipgate' // reference to an element where we should put our footer
],
data () {
- console.log(this.timelineName)
return {
paused: false,
unfocused: false,