refactor(frontend): widgets/server-metric
内の型エラーを除去 (#12937)
This commit is contained in:
@@ -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 () => {
|
||||
|
Reference in New Issue
Block a user