cleanup
This commit is contained in:
parent
eb77c5dbb9
commit
6ae52e192b
4 changed files with 0 additions and 4 deletions
|
|
@ -254,7 +254,6 @@ const getNodeInfo = async ({ store }) => {
|
|||
const data = await res.json()
|
||||
const metadata = data.metadata
|
||||
const features = metadata.features
|
||||
console.log(features)
|
||||
store.dispatch('setInstanceOption', { name: 'name', value: metadata.nodeName })
|
||||
store.dispatch('setInstanceOption', { name: 'registrationOpen', value: data.openRegistrations })
|
||||
store.dispatch('setInstanceOption', { name: 'mediaProxyAvailable', value: features.includes('media_proxy') })
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ const BlockCard = {
|
|||
},
|
||||
methods: {
|
||||
unblockUser () {
|
||||
this.progress = true
|
||||
this.$store.dispatch('unblockUser', this.user.id)
|
||||
},
|
||||
blockUser () {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ const MuteCard = {
|
|||
},
|
||||
methods: {
|
||||
unmuteUser () {
|
||||
this.progress = true
|
||||
this.$store.dispatch('unmuteUser', this.userId)
|
||||
},
|
||||
muteUser () {
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ const blockUser = (store, args) => {
|
|||
|
||||
return store.rootState.api.backendInteractor.blockUser({ id, expiresIn })
|
||||
.then((relationship) => {
|
||||
console.log(relationship)
|
||||
store.commit('updateUserRelationship', [relationship])
|
||||
store.commit('addBlockId', id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue