2019-11-09 17:32:18 +00:00
|
|
|
import { mapState } from 'vuex'
|
|
|
|
|
2019-11-09 06:09:32 +00:00
|
|
|
const MRFTransparencyPanel = {
|
2019-11-09 17:32:18 +00:00
|
|
|
computed: mapState({
|
|
|
|
federationPolicy: state => state.instance.federationPolicy,
|
|
|
|
mrfPolicies: state => state.instance.federationPolicy.mrf_policies,
|
|
|
|
acceptInstances: state => state.instance.federationPolicy.mrf_simple.accept,
|
|
|
|
rejectInstances: state => state.instance.federationPolicy.mrf_simple.reject,
|
|
|
|
quarantineInstances: state => state.instance.federationPolicy.quarantined_instances,
|
|
|
|
ftlRemovalInstances: state => state.instance.federationPolicy.mrf_simple.federated_timeline_removal,
|
|
|
|
mediaNsfwInstances: state => state.instance.federationPolicy.mrf_simple.media_nsfw,
|
|
|
|
mediaRemovalInstances: state => state.instance.federationPolicy.mrf_simple.media_removal
|
|
|
|
})
|
2019-11-09 06:09:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default MRFTransparencyPanel
|