forgot to actually add add/remove methods, lel. remove some consolelogs
This commit is contained in:
parent
77dcbe641c
commit
b4f4b370d4
3 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue