@saooti/octopus-sdk 30.0.14 → 30.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
package/package.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
:rss-emission="rssEmission"
|
|
15
15
|
:ftp-emission="ftpEmission"
|
|
16
16
|
:is-ready="isReady"
|
|
17
|
+
@isUpdated="getEmissionDetails"
|
|
17
18
|
/>
|
|
18
19
|
<div class="module-box">
|
|
19
20
|
<h2 v-if="!isOuestFrance">
|
|
@@ -215,8 +216,6 @@ export default defineComponent({
|
|
|
215
216
|
},
|
|
216
217
|
watch: {
|
|
217
218
|
emissionId(): void {
|
|
218
|
-
this.loaded = false;
|
|
219
|
-
this.error = false;
|
|
220
219
|
this.getEmissionDetails();
|
|
221
220
|
},
|
|
222
221
|
},
|
|
@@ -226,6 +225,8 @@ export default defineComponent({
|
|
|
226
225
|
},
|
|
227
226
|
methods: {
|
|
228
227
|
async getEmissionDetails(): Promise<void> {
|
|
228
|
+
this.loaded = false;
|
|
229
|
+
this.error = false;
|
|
229
230
|
try {
|
|
230
231
|
const data: Emission = await octopusApi.fetchEmission(this.emissionId);
|
|
231
232
|
this.emission = data;
|