1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 21:15:45 +02:00
This commit is contained in:
syuilo
2018-10-21 10:24:56 +09:00
parent fed04ef5ae
commit 17263fb459
2 changed files with 124 additions and 87 deletions

View File

@@ -228,6 +228,7 @@ abstract class Chart<T> {
*/
const dive = (x: Obj, path?: string) => {
Object.entries(x).forEach(([k, v]) => {
const p = path ? `${path}.${k}` : k;
if (typeof v == 'object') {
dive(v, p);
} else {