File tree Expand file tree Collapse file tree
web/src/components/dashboard Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 */
1010
1111import { info , error as logError , warn } from '../logger.js' ;
12- import { getConfig } from '../modules/config.js' ;
1312import { purgeOldAuditLogs } from '../modules/auditLogger.js' ;
13+ import { getConfig } from '../modules/config.js' ;
1414
1515/** Track optional tables we've already warned about to avoid hourly log spam */
1616const warnedMissingOptionalTables = new Set ( ) ;
Original file line number Diff line number Diff line change @@ -360,9 +360,7 @@ export function PerformanceDashboard() {
360360 < CartesianGrid strokeDasharray = "3 3" className = "stroke-muted" />
361361 < XAxis dataKey = "time" tick = { { fontSize : 11 } } />
362362 < YAxis unit = " MB" tick = { { fontSize : 11 } } />
363- < Tooltip
364- formatter = { ( v ) => ( v != null ? [ `${ v } MB` ] : [ '' ] ) }
365- />
363+ < Tooltip formatter = { ( v ) => ( v != null ? [ `${ v } MB` ] : [ '' ] ) } />
366364 < Area
367365 type = "monotone"
368366 dataKey = "heap"
@@ -402,9 +400,7 @@ export function PerformanceDashboard() {
402400 < CartesianGrid strokeDasharray = "3 3" className = "stroke-muted" />
403401 < XAxis dataKey = "time" tick = { { fontSize : 11 } } />
404402 < YAxis domain = { [ 0 , 100 ] } unit = "%" tick = { { fontSize : 11 } } />
405- < Tooltip
406- formatter = { ( v ) => ( v != null ? [ `${ v } %` ] : [ '' ] ) }
407- />
403+ < Tooltip formatter = { ( v ) => ( v != null ? [ `${ v } %` ] : [ '' ] ) } />
408404 < Area
409405 type = "monotone"
410406 dataKey = "cpu"
You can’t perform that action at this time.
0 commit comments