From 872ad8633a8090eb3dbe4de2aff744d02be72c16 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Sat, 21 Nov 2020 18:13:18 +0100 Subject: [PATCH] Fix public shared remote library radio button being disabled Fixes #1292 --- changes/changelog.d/1292.bugfix | 1 + front/src/views/library/DetailBase.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/changelog.d/1292.bugfix diff --git a/changes/changelog.d/1292.bugfix b/changes/changelog.d/1292.bugfix new file mode 100644 index 000000000..7a74192be --- /dev/null +++ b/changes/changelog.d/1292.bugfix @@ -0,0 +1 @@ +Fix public shared remote library radio button being disabled (#1292) \ No newline at end of file diff --git a/front/src/views/library/DetailBase.vue b/front/src/views/library/DetailBase.vue index 16d2fc56c..c570be1e7 100644 --- a/front/src/views/library/DetailBase.vue +++ b/front/src/views/library/DetailBase.vue @@ -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 )