Reverted monitor name variable change

This commit is contained in:
Daniel Cojocea
2024-08-24 16:54:37 -04:00
parent 49e60ed8f8
commit 3c14feecd0

View File

@@ -98,7 +98,7 @@ const CreateMonitor = () => {
monitor.type === "http"
? `http${https ? "s" : ""}://` + monitor.url
: monitor.url,
name: monitor.name,
name: monitor.name === "" ? monitor.url : monitor.name,
type: monitor.type,
interval: monitor.interval * MS_PER_MINUTE,
};