diff --git a/frontend/src/App.vue b/frontend/src/App.vue index d195bef..4763f61 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -28,8 +28,11 @@ export default { }; }, mounted() { + var self = this; wails.events.on("minerRapidFail",(result) => { - this.screen = 'checks'; + window.backend.MinerCore.StopMining().then(result => { + self.switchToChecks(); + }); }); }, methods: {