Small fixes

This commit is contained in:
Natsumi
2021-06-04 09:05:39 +12:00
parent b97dff53aa
commit 30068c423b
2 changed files with 17 additions and 17 deletions

View File

@@ -7140,8 +7140,8 @@ speechSynthesis.getVoices();
},
layout: 'table'
};
$app.data.VRCPlusIconsTable = {};
$app.data.galleryTable = {};
$app.data.VRCPlusIconsTable = [];
$app.data.galleryTable = [];
$app.data.inviteMessageTable = {
visible: false,
data: [],
@@ -9988,7 +9988,7 @@ speechSynthesis.getVoices();
// App: VRCPlus Icons
API.$on('LOGIN', function () {
$app.VRCPlusIconsTable = {};
$app.VRCPlusIconsTable = [];
});
$app.methods.refreshVRCPlusIconsTable = function () {
@@ -10016,7 +10016,7 @@ speechSynthesis.getVoices();
API.$on('FILES:LIST', function (args) {
if (args.params.tag === 'icon') {
$app.VRCPlusIconsTable = args.json;
$app.VRCPlusIconsTable = args.json.reverse();
$app.galleryDialogIconsLoading = false;
}
});
@@ -12504,7 +12504,7 @@ speechSynthesis.getVoices();
$app.data.galleryDialogIconsLoading = false;
API.$on('LOGIN', function () {
$app.galleryTable = {};
$app.galleryTable = [];
});
$app.methods.showGalleryDialog = function () {
@@ -12524,7 +12524,7 @@ speechSynthesis.getVoices();
API.$on('FILES:LIST', function (args) {
if (args.params.tag === 'gallery') {
$app.galleryTable = args.json;
$app.galleryTable = args.json.reverse();
$app.galleryDialogGalleryLoading = false;
}
});