Small fixes

This commit is contained in:
Natsumi
2021-10-06 07:17:39 +13:00
parent e0664bf8c6
commit a6da42cc43
2 changed files with 6 additions and 4 deletions

View File

@@ -4097,6 +4097,7 @@ speechSynthesis.getVoices();
);
}
} catch (err) {
API.isRefreshFriendsLoading = false;
console.error(err);
}
setTimeout(() => this.updateLoop(), 500);
@@ -7448,7 +7449,7 @@ speechSynthesis.getVoices();
if (length > 1) {
this.updateGameLog(this.gameLogTable.data[length - 1].created_at);
} else {
this.refreshEntireGameLog();
this.updateGameLog('1970-01-01');
}
};

View File

@@ -187,7 +187,7 @@ html
el-option(v-once v-for="type in ['Location', 'OnPlayerJoined', 'OnPlayerLeft', 'PortalSpawn', 'AvatarChange', 'Event', 'VideoPlay']" :key="type" :label="type" :value="type")
el-input(v-model="gameLogTable.filters[1].value" placeholder="Search" style="flex:none;width:150px;margin:0 10px")
el-tooltip(placement="bottom" content="Reload game log" :disabled="hideTooltips")
el-button(type="default" @click="refreshEntireGameLog" icon="el-icon-refresh" circle style="flex:none")
el-button(type="default" @click="getGameLogTable" icon="el-icon-refresh" circle style="flex:none")
el-table-column(label="Date" prop="created_at" sortable="custom" width="90")
template(v-once #default="scope")
el-tooltip(placement="right")
@@ -488,8 +488,9 @@ html
template(v-if="scope.row.type !== 'requestInviteResponse' && scope.row.type !== 'inviteResponse' && scope.row.type !== 'message'")
el-tooltip(placement="top" content="Decline" :disabled="hideTooltips")
el-button(type="text" icon="el-icon-close" size="mini" style="margin-left:5px" @click="hideNotification(scope.row)")
el-tooltip(placement="top" content="Delete log" :disabled="hideTooltips")
el-button(type="text" icon="el-icon-delete" size="mini" style="margin-left:5px" @click="deleteNotificationLog(scope.row)")
template(v-if="scope.row.type !== 'friendRequest' && scope.row.type !== 'hiddenFriendRequest'")
el-tooltip(placement="top" content="Delete log" :disabled="hideTooltips")
el-button(type="text" icon="el-icon-delete" size="mini" style="margin-left:5px" @click="deleteNotificationLog(scope.row)")
//- profile
.x-container(v-show="$refs.menu && $refs.menu.activeIndex === 'profile'")