Reverted monitor name variable change

This commit is contained in:
Daniel Cojocea committed 2024-08-24 16:54:37 -04:00
1 parent 49e60ed8f8
commit 3c14feecd0
1 file changed
+1 -1
@@ -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,
};