From 69a40342e2e18fd45ff3bcc1f695b2d05fa62d63 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sat, 20 Nov 2021 00:21:27 +1300 Subject: [PATCH] Small fixes --- html/src/app.js | 10 +++++----- html/src/index.pug | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index b1ac3ecf..ce5ff150 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -7542,6 +7542,11 @@ speechSynthesis.getVoices(); $app.methods.addGameLog = function (entry) { this.gameLogSessionTable.push(entry); + this.updateSharedFeed(false); + if (entry.type === 'VideoPlay') { + // event time can be before last gameLog entry + this.updateSharedFeed(true); + } if ( entry.type === 'LocationDestination' || entry.type === 'AvatarChange' || @@ -7560,13 +7565,8 @@ speechSynthesis.getVoices(); if (!this.gameLogSearch(entry)) { return; } - if (entry.type === 'VideoPlay') { - // event time can be before last gameLog entry - this.updateSharedFeed(true); - } this.gameLogTable.data.push(entry); this.sweepGameLog(); - this.updateSharedFeed(false); this.notifyMenu('gameLog'); }; diff --git a/html/src/index.pug b/html/src/index.pug index 0791d62d..472e2b9d 100644 --- a/html/src/index.pug +++ b/html/src/index.pug @@ -1654,7 +1654,7 @@ html #[i.x-user-status.askme] Ask Me el-option(label="Do Not Disturb" value="busy"). #[i.x-user-status.busy] Do Not Disturb - el-option(label="Offline" value="offline"). + el-option(v-if="API.currentUser.$isModerator" label="Offline" value="offline"). #[i.x-user-status.offline] Offline el-input(v-model="socialStatusDialog.statusDescription" placeholder="Status" maxlength="32" show-word-limit style="dispaly:block;margin-top:10px") template(#footer)