Commit 872ad863 authored by Philipp Wolfer's avatar Philipp Wolfer
Browse files

Fix public shared remote library radio button being disabled

Fixes #1292
parent 40c2bd89
Fix public shared remote library radio button being disabled (#1292)
\ No newline at end of file
......@@ -194,7 +194,7 @@ export default {
isPlayable () {
return this.object.uploads_count > 0 && (
this.isOwner ||
this.object.privacy_level === 'public' ||
this.object.privacy_level === 'everyone' ||
(this.object.privacy_level === 'instance' && this.$store.state.auth.authenticated && this.object.actor.domain === this.$store.getters['instance/domain']) ||
(this.$store.getters['libraries/follow'](this.object.uuid) || {}).approved === true
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment