mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-26 14:31:50 +02:00
updates
This commit is contained in:
@@ -66,8 +66,10 @@ export function AddProbeDialog({ systemId }: { systemId?: string }) {
|
||||
interval: probeInterval,
|
||||
enabled: true,
|
||||
})
|
||||
if (name && name !== target) {
|
||||
if (name) {
|
||||
payload.name = name
|
||||
} else if (targetName !== target) {
|
||||
payload.name = targetName
|
||||
}
|
||||
await pb.collection("network_probes").create(payload)
|
||||
resetForm()
|
||||
|
||||
Reference in New Issue
Block a user