mirror of
https://github.com/fankes/beszel.git
synced 2025-10-24 12:39:34 +08:00
alerts for cpu, memory, and disk
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user