diff --git a/html/js/routes/job.js b/html/js/routes/job.js index 634411fa..cd5d38b6 100644 --- a/html/js/routes/job.js +++ b/html/js/routes/job.js @@ -186,6 +186,8 @@ routes.push({ path: '/job/:jobId', name: 'job', component: { setTimeout(function() { route.loadPackets(unwrap); }, 0); // run async to this event }, async loadPackets(unwrap) { + if (!this.job || !this.job.id) return; + this.packetsLoading = true; try { const response = await this.$root.papi.get('packets', { params: {