From e29880a7ad42c5c2f7814fc8f20db5f9743fce4b Mon Sep 17 00:00:00 2001 From: Stanislav Popov Date: Sat, 26 Dec 2020 20:03:33 +0500 Subject: [PATCH] fix(scan): close settings on scan --- pages/scan.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/scan.vue b/pages/scan.vue index 448e698..24ebaa2 100644 --- a/pages/scan.vue +++ b/pages/scan.vue @@ -416,9 +416,15 @@ export default { return args; }, + closeSettings() { + const pindex = this.openedPanels.indexOf('settings'); + if (pindex !== -1) this.openedPanels.splice(pindex, 1); + }, + async sendTask() { this.$store.commit('log', []); // clear log this.urlsShow = false; + this.closeSettings(); const opts = { url: this.url,