From 6dfe3cc911e748767368cc920cac2d91b4805992 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 9 Nov 2019 00:23:22 -0600 Subject: [PATCH] lint --- .../mrf_transparency_panel.js | 17 ++++--- .../mrf_transparency_panel.vue | 47 +++++++++++++++---- src/components/staff_panel/staff_panel.js | 3 +- src/components/staff_panel/staff_panel.vue | 3 +- 4 files changed, 50 insertions(+), 20 deletions(-) diff --git a/src/components/mrf_transparency_panel/mrf_transparency_panel.js b/src/components/mrf_transparency_panel/mrf_transparency_panel.js index 3791dd1233..d4e583b0cd 100644 --- a/src/components/mrf_transparency_panel/mrf_transparency_panel.js +++ b/src/components/mrf_transparency_panel/mrf_transparency_panel.js @@ -2,32 +2,31 @@ const MRFTransparencyPanel = { components: { }, computed: { - federationPolicy() { + federationPolicy () { return this.$store.state.instance.federationPolicy }, - mrfPolicies() { + mrfPolicies () { return this.$store.state.instance.federationPolicy.mrf_policies }, - acceptInstances() { + acceptInstances () { return this.$store.state.instance.federationPolicy.mrf_simple.accept }, - rejectInstances() { + rejectInstances () { return this.$store.state.instance.federationPolicy.mrf_simple.reject }, - quarantineInstances() { + quarantineInstances () { return this.$store.state.instance.federationPolicy.quarantined_instances }, - ftlRemovalInstances() { + ftlRemovalInstances () { return this.$store.state.instance.federationPolicy.mrf_simple.federated_timeline_removal }, - mediaNsfwInstances() { + mediaNsfwInstances () { return this.$store.state.instance.federationPolicy.mrf_simple.media_nsfw }, - mediaRemovalInstances() { + mediaRemovalInstances () { return this.$store.state.instance.federationPolicy.mrf_simple.media_removal } } } export default MRFTransparencyPanel - diff --git a/src/components/mrf_transparency_panel/mrf_transparency_panel.vue b/src/components/mrf_transparency_panel/mrf_transparency_panel.vue index f3507591fb..2640d68c7d 100644 --- a/src/components/mrf_transparency_panel/mrf_transparency_panel.vue +++ b/src/components/mrf_transparency_panel/mrf_transparency_panel.vue @@ -1,5 +1,8 @@