modal and confirm navigation

This commit is contained in:
=
2020-07-09 10:57:49 +02:00
parent 6f496eb659
commit 65c8d16894
2 changed files with 9 additions and 4 deletions
@@ -280,9 +280,12 @@ export default class ModalLoadProgram extends Vue {
}
close() {
this.cleanFileWatcher()
messageService.deleteChannel("esc_pressed");
ModalHelper.HideModal();
try {
this.cleanFileWatcher()
messageService.deleteChannel("esc_pressed");
} catch{ }
// ModalHelper.HideModal();
this.$router.back();
}
reload() {
@@ -299,6 +302,8 @@ export default class ModalLoadProgram extends Vue {
await this.loadProgram(item.AbsolutePath);
this.$router.push({ name: 'setup' })
this.askConfirmLayer = false
}
else {
@@ -37,7 +37,7 @@
:disabled="!isCnReady()"
@click="navigateTo('\\\\','\\\\', false, 1,0)"
></card-folder-path>-->
<hr />
<!-- <hr /> -->
<card-folder-path
name="Recent"
:iconType="'SPFO'"