From 7e4a60da0f45f4fde95fae5439a1e7cea3de3a47 Mon Sep 17 00:00:00 2001 From: pypy Date: Tue, 10 Nov 2020 21:41:18 +0900 Subject: [PATCH] bugfix (closes #94) --- html/src/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index 3acd5ab4..6f23b07f 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -3295,7 +3295,6 @@ import gameLogService from './service/gamelog.js' el: '#x-app', async mounted() { this.checkAppVersion(); - await gameLogService.reset(); API.$on('SHOW_WORLD_DIALOG', (tag) => this.showWorldDialog(tag)); API.$on('SHOW_LAUNCH_DIALOG', (tag) => this.showLaunchDialog(tag)); this.updateLoop(); @@ -3591,6 +3590,7 @@ import gameLogService from './service/gamelog.js' text: `Hello there, ${escapeTag(args.ref.displayName)}!` }).show(); $app.$refs.menu.activeIndex = 'feed'; + $app.resetGameLog(); }); $app.data.loginForm = { @@ -4482,6 +4482,7 @@ import gameLogService from './service/gamelog.js' $app.methods.resetGameLog = async function () { await gameLogService.reset(); this.gameLogTable.data = []; + this.lastLocation = ''; }; $app.methods.updateGameLogLoop = async function () {