mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Fix auto login after logging out
This commit is contained in:
@@ -206,7 +206,8 @@ Vue.component('marquee-text', MarqueeText);
|
||||
lastLocationTimer: '',
|
||||
onlineForTimer: '',
|
||||
wristFeed: [],
|
||||
devices: []
|
||||
devices: [],
|
||||
deviceCount: 0
|
||||
},
|
||||
computed: {},
|
||||
methods: {},
|
||||
@@ -367,16 +368,13 @@ Vue.component('marquee-text', MarqueeText);
|
||||
var length = 16;
|
||||
if (!this.config.hideDevicesFromFeed) {
|
||||
length -= 2;
|
||||
if (this.devices.length > 7) {
|
||||
if (this.deviceCount > 8) {
|
||||
length -= 1;
|
||||
}
|
||||
}
|
||||
if (this.nowPlaying.playing) {
|
||||
length -= 1;
|
||||
}
|
||||
if (!this.config.hideFriendsFromFeed && this.nowPlaying.playing) {
|
||||
length -= 1;
|
||||
}
|
||||
this.wristFeed.length = length;
|
||||
};
|
||||
|
||||
@@ -426,6 +424,7 @@ Vue.component('marquee-text', MarqueeText);
|
||||
deviceList.unshift(device);
|
||||
}
|
||||
});
|
||||
this.deviceCount = deviceList.length;
|
||||
deviceList.sort((a, b) => {
|
||||
if (a[0] === b[0]) {
|
||||
return 0;
|
||||
@@ -457,6 +456,7 @@ Vue.component('marquee-text', MarqueeText);
|
||||
'',
|
||||
baseStations
|
||||
]);
|
||||
this.deviceCount += 1;
|
||||
}
|
||||
this.devices = deviceList;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user