Skip to content

Commit

Permalink
fix(scan): close settings on scan
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Dec 26, 2020
1 parent 643da62 commit e29880a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/scan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e29880a

Please sign in to comment.