From a3df690b145983745267a02d0bc92ecbccd413de Mon Sep 17 00:00:00 2001 From: Stanislav Popov Date: Tue, 29 Dec 2020 16:19:57 +0500 Subject: [PATCH] feat(scan): show pending status in progress --- pages/scan.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/scan.vue b/pages/scan.vue index 9bfbd85..1f599a1 100644 --- a/pages/scan.vue +++ b/pages/scan.vue @@ -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 || '?'}`; }, @@ -644,6 +645,10 @@ export default { this.currentScanPage = ''; } + if (msg.includes('Pending...')) { + this.currentScanPage = 'Pending...'; + } + this.logPush(msg); }); this.socket.on("status", (msg, cb) => {