mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
Fix user dialog favorites
This commit is contained in:
+3
-1
@@ -17683,7 +17683,9 @@ console.log(`isLinux: ${LINUX}`);
|
|||||||
|
|
||||||
$app.methods.getUserFavoriteWorlds = async function (userId) {
|
$app.methods.getUserFavoriteWorlds = async function (userId) {
|
||||||
this.userDialog.isFavoriteWorldsLoading = true;
|
this.userDialog.isFavoriteWorldsLoading = true;
|
||||||
this.$refs.favoriteWorlds.currentName = '0'; // select first tab
|
if (typeof this.$refs.favoriteWorlds !== 'undefined') {
|
||||||
|
this.$refs.favoriteWorlds.currentName = '0'; // select first tab
|
||||||
|
}
|
||||||
this.userFavoriteWorlds = [];
|
this.userFavoriteWorlds = [];
|
||||||
var worldLists = [];
|
var worldLists = [];
|
||||||
var params = {
|
var params = {
|
||||||
|
|||||||
@@ -922,7 +922,7 @@ mixin userDialog
|
|||||||
.x-friend-list(style='margin-top: 10px; margin-bottom: 15px; min-height: 60px')
|
.x-friend-list(style='margin-top: 10px; margin-bottom: 15px; min-height: 60px')
|
||||||
.x-friend-item.x-friend-item-border(
|
.x-friend-item.x-friend-item-border(
|
||||||
v-for='world in list[2]'
|
v-for='world in list[2]'
|
||||||
:key='world.id'
|
:key='world.favoriteId'
|
||||||
@click='showWorldDialog(world.id)')
|
@click='showWorldDialog(world.id)')
|
||||||
.avatar
|
.avatar
|
||||||
img(v-lazy='world.thumbnailImageUrl')
|
img(v-lazy='world.thumbnailImageUrl')
|
||||||
|
|||||||
Reference in New Issue
Block a user