alerts for cpu, memory, and disk

This commit is contained in:
Henry Dollman
2024-07-22 16:14:55 -04:00
parent b1d994a0ff
commit c060e294f9
8 changed files with 335 additions and 93 deletions

View File

@@ -45,7 +45,7 @@ export const updateSystemList = async () => {
export const updateAlerts = () => {
pb.collection('alerts')
.getFullList<AlertRecord>({ fields: 'id,name,system' })
.getFullList<AlertRecord>({ fields: 'id,name,system,value' })
.then((records) => {
$alerts.set(records)
})