@saooti/octopus-sdk 36.0.52 → 36.0.53

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "36.0.52",
3
+ "version": "36.0.53",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="module-box" v-if="!isLoading && !noSharing">
2
+ <div class="module-box" v-if="!isLoading && (authenticated || !noSharing)">
3
3
  <div class="d-flex align-items-center mb-3">
4
4
  <h2 class="big-h2 mb-0">
5
5
  {{ $t('Share') }}
@@ -21,6 +21,7 @@
21
21
  />
22
22
  </div>
23
23
  <ShareButtonsIntern
24
+ :no-sharing="noSharing"
24
25
  :podcast="podcast"
25
26
  :emission="emission"
26
27
  :playlist="playlist"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="d-flex align-items-center justify-content-between">
3
- <div class="d-flex flex-column me-2" v-if="!isGarStudent">
3
+ <div class="d-flex flex-column me-2" v-if="!isGarStudent && !noSharing">
4
4
  <div class="h4 mb-2">
5
5
  {{ $t('Social networks') }}
6
6
  </div>
@@ -142,6 +142,7 @@ export default defineComponent({
142
142
  mixins: [displayMethods],
143
143
 
144
144
  props: {
145
+ noSharing: { default: false, type: Boolean},
145
146
  podcast: { default: undefined, type: Object as ()=> Podcast},
146
147
  emission: { default: undefined, type: Object as ()=> Emission},
147
148
  playlist: { default: undefined, type: Object as ()=>Playlist},