mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 08:43:50 +02:00
feat: groups sidebar collapsible (#1094)
* wip * wip * add prettier formatter config for pug files * feat: groups sidebar collapsible (#1079) * rm old code
This commit is contained in:
@@ -1216,7 +1216,7 @@ export default class extends baseClass {
|
||||
|
||||
API.$on('GROUP:USER:INSTANCES', function (args) {
|
||||
$app.groupInstances = [];
|
||||
for (var json of args.json.instances) {
|
||||
for (const json of args.json.instances) {
|
||||
if (args.json.fetchedAt) {
|
||||
// tack on fetchedAt
|
||||
json.$fetchedAt = args.json.fetchedAt;
|
||||
@@ -1227,7 +1227,7 @@ export default class extends baseClass {
|
||||
fetchedAt: args.json.fetchedAt
|
||||
}
|
||||
});
|
||||
var ref = this.cachedGroups.get(json.ownerId);
|
||||
const ref = this.cachedGroups.get(json.ownerId);
|
||||
if (typeof ref === 'undefined') {
|
||||
if ($app.friendLogInitStatus) {
|
||||
this.getGroup({ groupId: json.ownerId });
|
||||
|
||||
Reference in New Issue
Block a user