Bug fixes

This commit is contained in:
Natsumi
2022-01-19 06:00:39 +13:00
parent ee7c589d30
commit 4201d55d65
2 changed files with 7 additions and 7 deletions

View File

@@ -7278,6 +7278,7 @@ speechSynthesis.getVoices();
};
API.$on('LOGIN', async function (args) {
$app.friendLog = new Map();
$app.feedTable.data = [];
$app.feedSessionTable = [];
$app.friendLogInitStatus = false;
@@ -10320,7 +10321,6 @@ speechSynthesis.getVoices();
};
$app.methods.getFriendLog = async function () {
this.friendLog = new Map();
var friendLogCurrentArray = await database.getFriendLogCurrent();
for (var friend of friendLogCurrentArray) {
this.friendLog.set(friend.userId, friend);
@@ -16541,7 +16541,7 @@ speechSynthesis.getVoices();
$app.methods.displayPreviousImages = function (type, command) {
this.previousImagesTableFileId = '';
this.previousImagesTable = '';
this.previousImagesTable = [];
var imageUrl = '';
if (type === 'Avatar') {
var {imageUrl} = this.avatarDialog.ref;
@@ -16633,11 +16633,11 @@ speechSynthesis.getVoices();
$app.data.changeAvatarImageDialogLoading = false;
$app.data.changeWorldImageDialogVisible = false;
$app.data.changeWorldImageDialogLoading = false;
$app.data.previousImagesTable = {};
$app.data.previousImagesTable = [];
$app.data.previousImagesFileId = '';
API.$on('LOGIN', function () {
$app.previousImagesTable = {};
$app.previousImagesTable = [];
$app.previousImagesDialogVisible = false;
});