@saooti/octopus-sdk 31.0.39 → 31.0.42

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/README.md CHANGED
@@ -588,7 +588,8 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
588
588
  * 30.0.89 Podcastmaker newest (swiper list)
589
589
  * 30.0.90 Podcastmaker newest (swiper list)
590
590
  * 30.0.91 Encore newest
591
-
591
+ * 30.0.92 Encore newest
592
+
592
593
  * 31.0.0 Passage en 31
593
594
  * 31.0.1 Ajout pocket casts
594
595
  * 31.0.2 Gestion des 403
@@ -629,4 +630,6 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
629
630
  * 31.0.37 Continuation améliorations
630
631
  * 31.0.38 Changement reponsive topbar
631
632
  * 31.0.39 Erreur refactor
632
-
633
+ * 31.0.40 Erreur locale
634
+ * 31.0.41 #11220
635
+ * 31.0.42 #11222
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "31.0.39",
3
+ "version": "31.0.42",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -110,7 +110,7 @@ export default defineComponent({
110
110
  this.isCategories = 0!==length;
111
111
  },
112
112
  onRubriqueSelected(index: number, rubrique: Rubrique): void {
113
- if(!rubrique ||this.rubriqueFilter[index].rubriqueId === rubrique.rubriqueId ||rubrique.rubriqueId){
113
+ if(!rubrique ||this.rubriqueFilter[index].rubriqueId === rubrique.rubriqueId){
114
114
  return;
115
115
  }
116
116
  const filter = Array.from(this.rubriqueFilter);
@@ -11,7 +11,7 @@
11
11
  <PodcastImage
12
12
  :podcast="podcast"
13
13
  :hide-play="!podcastItemDescription || (podcastItemDescription && (!hover || !description))"
14
- :display-description="description && podcastItemDescription"
14
+ :display-description="0!==description.length && podcastItemDescription"
15
15
  :arrow-direction="arrowDirection"
16
16
  @hideDescription="hideDescription"
17
17
  @showDescription="showDescription"
@@ -37,6 +37,9 @@
37
37
  >
38
38
  {{ date }}
39
39
  </div>
40
+ <div>
41
+ {{ $t('Duration', { duration: duration }) }}
42
+ </div>
40
43
  <div
41
44
  v-if="isLiveReady"
42
45
  class="text-danger"
@@ -83,12 +83,16 @@
83
83
  import { state } from '../../store/paramStore';
84
84
 
85
85
  import { defineComponent } from 'vue'
86
+ import { Organisation } from '@/store/class/general/organisation';
86
87
  export default defineComponent({
87
88
  name: 'HomeDropdown',
88
89
  props: {
89
90
  isEducation: { default: false, type: Boolean},
90
91
  },
91
92
  computed: {
93
+ organisationsAvailable(): Array<Organisation>{
94
+ return this.$store.state.profile.organisations?? [];
95
+ },
92
96
  helpLinks(){
93
97
  return [
94
98
  {title:this.$t('Help'), href:'https://help.octopus.saooti.com/Aide/'},
@@ -99,7 +103,7 @@ export default defineComponent({
99
103
  {title:this.$t('Upload'),class:"btn btn-primary w-100", path:'/main/priv/upload', condition: (state.generalParameters.isContribution as boolean)},
100
104
  {title:this.$t('My space'),class:"show-phone dropdown-item", path:'/main/priv/backoffice', condition: true},
101
105
  {title:this.$t('Edit my profile'),class:"dropdown-item", path:'/main/priv/edit/profile', condition: true},
102
- {title:this.$t('Edit my organisation'),class:"dropdown-item", path:'/main/priv/edit/organisation', condition: (state.generalParameters.isOrganisation as boolean)}];
106
+ {title:this.$t('Edit my organisation'),class:"dropdown-item", path:'/main/priv/edit/organisation', condition: (state.generalParameters.isOrganisation as boolean) || 1<this.organisationsAvailable.length}];
103
107
  },
104
108
 
105
109
  isPodcastmaker(): boolean {
@@ -4,7 +4,7 @@
4
4
  v-if="loaded && !error"
5
5
  >
6
6
  <h1 v-if="!pageParameters.lightStyle">
7
- titleDisplay{{ titleDisplay }}
7
+ {{ titleDisplay }}
8
8
  </h1>
9
9
  <div
10
10
  class="d-flex flex-column align-items-center mb-3"