mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 09:13:50 +02:00
improve: UI (#1152)
* improve: UI (#1033) * fix: instance activity chart not displaying properly * fix
This commit is contained in:
@@ -322,6 +322,26 @@ export default {
|
||||
});
|
||||
return node;
|
||||
},
|
||||
|
||||
// app.js 4900ln
|
||||
// descending
|
||||
compareByCreatedAt(a, b) {
|
||||
if (
|
||||
typeof a.created_at !== 'string' ||
|
||||
typeof b.created_at !== 'string'
|
||||
) {
|
||||
return 0;
|
||||
}
|
||||
var A = a.created_at.toUpperCase();
|
||||
var B = b.created_at.toUpperCase();
|
||||
if (A < B) {
|
||||
return 1;
|
||||
}
|
||||
if (A > B) {
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
},
|
||||
// lazy load echarts
|
||||
loadEcharts() {
|
||||
if (echarts) {
|
||||
|
||||
Reference in New Issue
Block a user