diff --git a/html/js/routes/job.js b/html/js/routes/job.js index 765a3199..addc52e6 100644 --- a/html/js/routes/job.js +++ b/html/js/routes/job.js @@ -149,13 +149,10 @@ routes.push({ path: '/job/:jobId', name: 'job', component: { return this.packetOptions.indexOf(option) != -1; }, captureLayoutAsStream() { - // wait for v-btn-toggle to update model - this.$nextTick(() => { - if (!this.isOptionEnabled('packets')) return; + if (this.isOptionEnabled('packets')) return; - this.expandPackets(true); - this.sortBy = [{ key: 'number', order: 'asc' }]; - }); + this.expandPackets(true); + this.sortBy = [{ key: 'number', order: 'asc' }]; }, packetsUpdated() { if (this.expandAll) {