refactor(frontend): widgets/server-metric
内の型エラーを除去 (#12937)
This commit is contained in:
parent
fd519f5def
commit
0e536bdd86
13 changed files with 103 additions and 30 deletions
|
@ -37,7 +37,7 @@ export class ServerStatsService implements OnApplicationShutdown {
|
|||
const log = [] as any[];
|
||||
|
||||
ev.on('requestServerStatsLog', x => {
|
||||
ev.emit(`serverStatsLog:${x.id}`, log.slice(0, x.length ?? 50));
|
||||
ev.emit(`serverStatsLog:${x.id}`, log.slice(0, x.length));
|
||||
});
|
||||
|
||||
const tick = async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue