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;
});

View File

@@ -1397,7 +1397,7 @@ html
el-dropdown-item(icon="el-icon-s-custom" command="Show Avatar Author" divided) Show Avatar Author
el-dropdown-item(icon="el-icon-s-custom" command="Show Fallback Avatar Details") Show Fallback Avatar Details
el-dropdown-item(icon="el-icon-tickets" command="Previous Instances") Show Previous Instances
el-dropdown-item(v-if="userDialog.ref.currentAvatarImageUrl !== robotUrl" icon="el-icon-picture-outline" command="Previous Images") Show Avatar Previous Images
el-dropdown-item(v-if="userDialog.ref.currentAvatarImageUrl" icon="el-icon-picture-outline" command="Previous Images") Show Avatar Previous Images
el-dropdown-item(v-if="userDialog.isBlock" icon="el-icon-circle-check" command="Unblock" divided style="color:#F56C6C") Unblock
el-dropdown-item(v-else icon="el-icon-circle-close" command="Block" divided :disabled="userDialog.ref.$isModerator") Block
el-dropdown-item(v-if="userDialog.isMute" icon="el-icon-microphone" command="Unmute" style="color:#F56C6C") Unmute
@@ -1541,8 +1541,8 @@ html
el-radio(label="all") all
el-radio(label="public") public
el-radio(label="private") private
.x-friend-list(v-loading="userDialog.isAvatarsLoading" style="margin-top:10px;min-height:60px")
.x-friend-item(v-for="avatar in userDialogAvatars" :key="avatar.id" @click="showAvatarDialog(avatar.id)" class="x-friend-item-border")
.x-friend-list(style="margin-top:10px;min-height:60px")
.x-friend-item(v-for="avatar in userDialogAvatars" @click="showAvatarDialog(avatar.id)" class="x-friend-item-border")
.avatar
img(v-lazy="avatar.thumbnailImageUrl")
.detail