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

Commit f532486

Browse files
author
icymind
committed
refresh after save a actived profile
1 parent 2b3b994 commit f532486

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/renderer/components/Manage.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ export default {
288288
},
289289
deleteProfile: async function (index) {
290290
this.profiles.splice(index, 1)
291+
logger.debug(`profiles[${index}] has been delete. about to save profile to disk`)
291292
await this.vrouter.saveCfg2File()
292293
},
293294
editorSave: async function (profile) {
@@ -309,6 +310,7 @@ export default {
309310
this.loaderText = 'Applying Profile'
310311
this.activeLoader = true
311312
await this.vrouter.applyActivedProfile()
313+
await this.refreshInfos(true)
312314
this.activeLoader = false
313315
logger.info(`apply editting profile: ${this.activedProfile.name}`)
314316
this.loaderText = 'Loading'

0 commit comments

Comments
 (0)