forgot to actually add add/remove methods, lel. remove some consolelogs

This commit is contained in:
Henry Jameson 2022-08-17 00:58:05 +03:00
parent 77dcbe641c
commit b4f4b370d4
3 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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,

View File

@ -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,