Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit ff2f8ed

Browse files
author
icymind
committed
installNWWatchdog for version 0.2.x
1 parent 5325ff8 commit ff2f8ed

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

js/manage.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ const myApp = new Vue({
266266
delete this.editingProfile.id
267267
if (action === 'new') {
268268
this.profiles.profiles.push(JSON.parse(JSON.stringify(this.editingProfile)))
269+
setTimeout(() => {
270+
this.initDimmer()
271+
}, 500)
269272
} else {
270273
this.profiles.profiles[id] = JSON.parse(JSON.stringify(this.editingProfile))
271274
}

js/vrouter-local.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ EOF`
431431
return this.localExec(cmd)
432432
}
433433
async deletevm (stopFirst = false) {
434+
await this.removeNwWatchdog()
434435
const cmd = `${VBoxManage} unregistervm ${this.config.vrouter.name} --delete`
435436
const existed = await this.isVRouterExisted()
436437
if (!existed) {
@@ -1723,6 +1724,7 @@ echo ""`
17231724
}
17241725
newCfg.host.configDir = this.config.host.configDir
17251726
this.config = newCfg
1727+
await this.installNwWatchdog()
17261728
}
17271729
}
17281730
async copyTemplate (fileName) {

0 commit comments

Comments
 (0)