logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: b4f4b370d406faf69be5c414ce394b608d8792f5
parent 77dcbe641c5dbc96ab3fcdde98ddf668fec1ecae
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 17 Aug 2022 00:58:05 +0300

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

Diffstat:

Msrc/components/lists_edit/lists_edit.js4++--
Msrc/components/navigation/filter.js2+-
Msrc/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 @@ -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 @@ -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 @@ -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,