forgot to actually add add/remove methods, lel. remove some consolelogs
This commit is contained in:
parent
77dcbe641c
commit
b4f4b370d4
@ -94,10 +94,10 @@ const ListsNew = {
|
|||||||
return this.addedUserIds.has(user.id)
|
return this.addedUserIds.has(user.id)
|
||||||
},
|
},
|
||||||
addUser (user) {
|
addUser (user) {
|
||||||
// this.selectedUserIds.push(user.id)
|
this.$store.dispatch('addListAccount', { accountId: this.user.id, listId: this.id })
|
||||||
},
|
},
|
||||||
removeUser (userId) {
|
removeUser (userId) {
|
||||||
// this.selectedUserIds = this.selectedUserIds.filter(id => id !== userId)
|
this.$store.dispatch('removeListAccount', { accountId: this.user.id, listId: this.id })
|
||||||
},
|
},
|
||||||
onSearchLoading (results) {
|
onSearchLoading (results) {
|
||||||
this.searchLoading = true
|
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,
|
name: 'list-' + list.id,
|
||||||
routeObject: { name: 'lists-timeline', params: { id: list.id } },
|
routeObject: { name: 'lists-timeline', params: { id: list.id } },
|
||||||
labelRaw: list.title,
|
labelRaw: list.title,
|
||||||
|
@ -28,7 +28,6 @@ const Timeline = {
|
|||||||
'footerSlipgate' // reference to an element where we should put our footer
|
'footerSlipgate' // reference to an element where we should put our footer
|
||||||
],
|
],
|
||||||
data () {
|
data () {
|
||||||
console.log(this.timelineName)
|
|
||||||
return {
|
return {
|
||||||
paused: false,
|
paused: false,
|
||||||
unfocused: false,
|
unfocused: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user