Skip to content

Commit

Permalink
feat(scan): show pending status in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Dec 29, 2020
1 parent 6272aa8 commit a3df690
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pages/scan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ export default {
showCurrentScan(percentage) {
if (!this.currentScanPage && !this.currentScanQueue) return '';
if (this.currentScanPage == 'Pending...') return this.currentScanPage;
return `${this.currentScanPage || this.currentScanQueue} / ${this.currentScanQueue || '?'}`;
},
Expand Down Expand Up @@ -644,6 +645,10 @@ export default {
this.currentScanPage = '';
}
if (msg.includes('Pending...')) {
this.currentScanPage = 'Pending...';
}
this.logPush(msg);
});
this.socket.on("status", (msg, cb) => {
Expand Down

0 comments on commit a3df690

Please sign in to comment.