mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Game Log immediately show profile 2
This commit is contained in:
@@ -4650,14 +4650,16 @@ import gameLogService from './service/gamelog.js'
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.searchText = name;
|
this.searchText = name;
|
||||||
this.$refs.searchTab.currentName = '0';
|
await this.searchUser();
|
||||||
await this.search();
|
for (var ref of this.searchUserResults) {
|
||||||
for (var ref of API.cachedUsers.values()) {
|
|
||||||
if (ref.displayName === name) {
|
if (ref.displayName === name) {
|
||||||
|
this.searchText = '';
|
||||||
|
this.clearSearch();
|
||||||
this.showUserDialog(ref.id);
|
this.showUserDialog(ref.id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.$refs.searchTab.currentName = '0';
|
||||||
this.$refs.menu.activeIndex = 'search';
|
this.$refs.menu.activeIndex = 'search';
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -4695,8 +4697,8 @@ import gameLogService from './service/gamelog.js'
|
|||||||
this.searchAvatarResults = [];
|
this.searchAvatarResults = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
$app.methods.search = async function () {
|
$app.methods.search = function () {
|
||||||
await this.searchUser();
|
this.searchUser();
|
||||||
this.searchWorld({});
|
this.searchWorld({});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user