@saooti/octopus-sdk 30.0.29 → 30.0.30

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
@@ -526,4 +526,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
526
526
  * 30.0.26 Css + Accessibilité
527
527
  * 30.0.27 Top bar responsive
528
528
  * 30.0.28 Limiter caractères des commentaires
529
- * 30.0.29 Pour podcastmaker sudPresse
529
+ * 30.0.29 Pour podcastmaker sudPresse
530
+ * 30.0.30 Problème fetch participants
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.29",
3
+ "version": "30.0.30",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -168,7 +168,6 @@ export default defineComponent({
168
168
  async fetchContent(reset: boolean): Promise<void> {
169
169
  this.loading = true;
170
170
  if (reset) {
171
- this.emissions.length = 0;
172
171
  this.dfirst = 0;
173
172
  }
174
173
  const param: FetchParam = {
@@ -80,7 +80,6 @@ export default defineComponent({
80
80
  async fetchContent(reset: boolean): Promise<void> {
81
81
  this.inFetching = true;
82
82
  if (reset) {
83
- this.lives.length = 0;
84
83
  this.dfirst = 0;
85
84
  this.notEmpty = false;
86
85
  }
@@ -168,7 +168,7 @@ export default defineComponent({
168
168
  background: linear-gradient(
169
169
  to bottom,
170
170
  rgba(255, 255, 255, 0),
171
- #f3f3f3 40%
171
+ #fafafa 40%
172
172
  );
173
173
  }
174
174
  }
@@ -96,6 +96,9 @@ export default defineComponent({
96
96
  methods: {
97
97
  async fetchContent(reset: boolean): Promise<void> {
98
98
  this.loading = true;
99
+ if (reset) {
100
+ this.dfirst = 0;
101
+ }
99
102
  const data = await octopusApi.fetchParticipants({
100
103
  first: this.dfirst,
101
104
  size: this.dsize,
@@ -147,7 +147,6 @@ export default defineComponent({
147
147
  async fetchContent(reset: boolean): Promise<void> {
148
148
  this.inFetching = true;
149
149
  if (reset) {
150
- this.podcasts.length = 0;
151
150
  this.dfirst = 0;
152
151
  this.loading = true;
153
152
  this.loaded = false;