@saooti/octopus-sdk 40.0.2 → 40.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
:podcast-annotations="podcast.annotations"
|
|
121
121
|
/>
|
|
122
122
|
<PodcastRubriqueList
|
|
123
|
-
v-if="
|
|
123
|
+
v-if="podcastRubriques?.length"
|
|
124
124
|
:orga-id="podcast.organisation.id"
|
|
125
|
-
:rubrique-ids="
|
|
125
|
+
:rubrique-ids="podcastRubriques"
|
|
126
126
|
/>
|
|
127
127
|
<PodcastRawTranscript :podcast-id="podcast.podcastId" />
|
|
128
128
|
<SubscribeButtons
|
|
@@ -228,6 +228,13 @@ export default defineComponent({
|
|
|
228
228
|
|
|
229
229
|
computed: {
|
|
230
230
|
...mapState(useAuthStore, ["isRoleLive", "isGarRole"]),
|
|
231
|
+
podcastRubriques(){
|
|
232
|
+
let rubriques = this.podcast?.rubriqueIds ?? [];
|
|
233
|
+
if(this.podcast?.emission?.rubriqueIds){
|
|
234
|
+
rubriques = [...new Set(rubriques.concat(this.podcast?.emission?.rubriqueIds))];
|
|
235
|
+
}
|
|
236
|
+
return rubriques;
|
|
237
|
+
},
|
|
231
238
|
errorMessage(): string {
|
|
232
239
|
if (!this.podcast?.availability.visibility) {
|
|
233
240
|
return this.$t("Podcast is not visible for listeners");
|