@saooti/octopus-sdk 32.0.14 → 32.0.15

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
@@ -658,3 +658,4 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
658
658
  * 32.0.12 Merge 31
659
659
  * 32.0.13 Test Vite au lieu de Webpack
660
660
  * 32.0.14 Mise en place Vite au lieu de Webpack
661
+ * 32.0.15 Pb lié refactor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "32.0.14",
3
+ "version": "32.0.15",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -136,7 +136,7 @@ export default defineComponent({
136
136
  }
137
137
  },
138
138
  organisation(): string|undefined {
139
- return this.organisationId ?? this.$store.state.filter.organisationId;
139
+ return this.organisationId ?this.organisationId:this.$store.state.filter.organisationId;
140
140
  },
141
141
  },
142
142
  watch: {
@@ -72,7 +72,7 @@ export default defineComponent({
72
72
  return this.$store.state.filter.organisationId;
73
73
  },
74
74
  organisation(): string|undefined {
75
- return this.organisationId ?? this.filterOrga;
75
+ return this.organisationId ?this.organisationId: this.filterOrga;
76
76
  },
77
77
  rubriqueFilter(): Array<RubriquageFilter>{
78
78
  return this.$store.state.filter.rubriqueFilter;
@@ -80,7 +80,7 @@ export default defineComponent({
80
80
  return this.loaded && !this.livesArray[0].lives.length && !this.livesArray[2].lives.length && !this.livesArray[3].lives.length;
81
81
  },
82
82
  filterOrgaUsed(): string|undefined {
83
- return this.filterOrga??this.organisationId;
83
+ return this.filterOrga?this.filterOrga:this.organisationId;
84
84
  },
85
85
  filterOrga(): string {
86
86
  return this.$store.state.filter.organisationId;
@@ -75,7 +75,7 @@ export default defineComponent({
75
75
  return this.participants.slice(this.dfirst, Math.min(this.dfirst + this.dsize,this.totalCount));
76
76
  },
77
77
  organisation(): string|undefined {
78
- return this.organisationId??this.$store.state.filter.organisationId;
78
+ return this.organisationId?this.organisationId:this.$store.state.filter.organisationId;
79
79
  },
80
80
  },
81
81
  watch: {
@@ -80,7 +80,7 @@ export default defineComponent({
80
80
  return !this.query ?'NAME': 'SCORE';
81
81
  },
82
82
  organisation(): string|undefined {
83
- return this.organisationId ?? this.$store.state.filter.organisationId;
83
+ return this.organisationId ?this.organisationId: this.$store.state.filter.organisationId;
84
84
  },
85
85
  },
86
86
  watch: {
@@ -111,7 +111,7 @@ export default defineComponent({
111
111
  return this.$store.state.filter.organisationId;
112
112
  },
113
113
  organisation(): string|undefined {
114
- return this.organisationId ?? this.filterOrga;
114
+ return this.organisationId ?this.organisationId: this.filterOrga;
115
115
  },
116
116
  previousAvailable(): boolean {
117
117
  return this.index > 0;
@@ -96,7 +96,7 @@ export default defineComponent({
96
96
  ${this.rubriqueId}|${this.rubriquageId}|${this.before}|${this.after}|${this.includeHidden}|${this.noRubriquageId}|${this.notValid}`;
97
97
  },
98
98
  organisation(): string|undefined {
99
- return this.organisationId ?? this.$store.state.filter.organisationId;
99
+ return this.organisationId ?this.organisationId: this.$store.state.filter.organisationId;
100
100
  },
101
101
  sort(): string {
102
102
  return this.popularSort? "POPULARITY" : this.sortCriteria??'DATE';
@@ -95,7 +95,7 @@ export default defineComponent({
95
95
  return this.$store.state.filter.organisationId;
96
96
  },
97
97
  organisation(): string|undefined {
98
- return this.organisationId ?? this.filterOrga;
98
+ return this.organisationId ?this.organisationId: this.filterOrga;
99
99
  },
100
100
  watchVariable():string{
101
101
  return `${this.emissionId}|${this.organisationId}|${this.filterOrga}|${this.iabId}|${this.rubriqueId}|${this.rubriquageId}|${this.query}`;
@@ -96,7 +96,7 @@ export default defineComponent({
96
96
  true===state.generalParameters.isAdmin
97
97
  },
98
98
  organisation(): string|undefined {
99
- return this.organisationId??this.filterOrga;
99
+ return this.organisationId?this.organisationId:this.filterOrga;
100
100
  },
101
101
  },
102
102
 
@@ -106,7 +106,7 @@ export default defineComponent({
106
106
  methods: {
107
107
  initComponent(): void{
108
108
  this.iabId =this.$store.state.filter.iab?.id;
109
- this.organisationId = this.productor?? this.filterOrga;
109
+ this.organisationId = this.productor ?this.productor: this.filterOrga;
110
110
  if (this.organisation && this.organisationRight) {
111
111
  this.includeHidden = true;
112
112
  }
@@ -47,7 +47,7 @@ export default defineComponent({
47
47
  },
48
48
  },
49
49
  created() {
50
- this.organisationId = this.productor??this.filterOrga;
50
+ this.organisationId = this.productor ?this.productor: this.filterOrga;
51
51
  },
52
52
  })
53
53
  </script>
@@ -66,7 +66,7 @@ export default defineComponent({
66
66
  },
67
67
 
68
68
  created() {
69
- this.organisationId = this.productor ??this.filterOrga;
69
+ this.organisationId = this.productor ?this.productor: this.filterOrga;;
70
70
  },
71
71
  })
72
72
  </script>
@@ -117,7 +117,7 @@ export default defineComponent({
117
117
  true===state.generalParameters.isAdmin;
118
118
  },
119
119
  organisation(): string|undefined {
120
- return this.organisationId ?? this.filterOrga;
120
+ return this.organisationId ?this.organisationId: this.filterOrga;
121
121
  },
122
122
  pageParameters(){
123
123
  return {
@@ -134,7 +134,7 @@ export default defineComponent({
134
134
  methods: {
135
135
  initPodcastsPage(){
136
136
  this.searchPattern = this.searchInit ?? '';
137
- this.organisationId = this.productor ?? this.filterOrga;
137
+ this.organisationId = this.productor ?this.productor: this.filterOrga;
138
138
  this.includeHidden = this.organisation && this.organisationRight ? true : false;
139
139
  this.iabId =this.$store.state.filter.iab?.id;
140
140
  if(this.$store.state.filter.rubriqueFilter.length){