2019-11-09 17:09:32 +11:00
|
|
|
const MRFTransparencyPanel = {
|
|
|
|
computed: {
|
2019-11-09 17:23:22 +11:00
|
|
|
federationPolicy () {
|
2019-11-09 17:09:32 +11:00
|
|
|
return this.$store.state.instance.federationPolicy
|
|
|
|
},
|
2019-11-09 17:23:22 +11:00
|
|
|
mrfPolicies () {
|
2019-11-09 17:09:32 +11:00
|
|
|
return this.$store.state.instance.federationPolicy.mrf_policies
|
|
|
|
},
|
2019-11-09 17:23:22 +11:00
|
|
|
acceptInstances () {
|
2019-11-09 17:09:32 +11:00
|
|
|
return this.$store.state.instance.federationPolicy.mrf_simple.accept
|
|
|
|
},
|
2019-11-09 17:23:22 +11:00
|
|
|
rejectInstances () {
|
2019-11-09 17:09:32 +11:00
|
|
|
return this.$store.state.instance.federationPolicy.mrf_simple.reject
|
|
|
|
},
|
2019-11-09 17:23:22 +11:00
|
|
|
quarantineInstances () {
|
2019-11-09 17:09:32 +11:00
|
|
|
return this.$store.state.instance.federationPolicy.quarantined_instances
|
|
|
|
},
|
2019-11-09 17:23:22 +11:00
|
|
|
ftlRemovalInstances () {
|
2019-11-09 17:09:32 +11:00
|
|
|
return this.$store.state.instance.federationPolicy.mrf_simple.federated_timeline_removal
|
|
|
|
},
|
2019-11-09 17:23:22 +11:00
|
|
|
mediaNsfwInstances () {
|
2019-11-09 17:09:32 +11:00
|
|
|
return this.$store.state.instance.federationPolicy.mrf_simple.media_nsfw
|
|
|
|
},
|
2019-11-09 17:23:22 +11:00
|
|
|
mediaRemovalInstances () {
|
2019-11-09 17:09:32 +11:00
|
|
|
return this.$store.state.instance.federationPolicy.mrf_simple.media_removal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default MRFTransparencyPanel
|