refactor: change custom monitor label and formatter

This commit is contained in:
moonrailgun 2024-01-01 17:29:11 +08:00
parent 3e30535187
commit 0c542faf3b

View File

@ -82,4 +82,6 @@ export const customProvider: MonitorProvider = {
label: 'Custom', label: 'Custom',
name: 'custom', name: 'custom',
form: MonitorCustom, form: MonitorCustom,
valueLabel: 'Result',
valueFormatter: (value) => String(value),
}; };