Reverted monitor name variable change
This commit is contained in:
1 parent
49e60ed8f8
commit
3c14feecd0
1 file changed
+1
-1
@@ -98,7 +98,7 @@ const CreateMonitor = () => {
|
|||||||
monitor.type === "http"
|
monitor.type === "http"
|
||||||
? `http${https ? "s" : ""}://` + monitor.url
|
? `http${https ? "s" : ""}://` + monitor.url
|
||||||
: monitor.url,
|
: monitor.url,
|
||||||
name: monitor.name,
|
name: monitor.name === "" ? monitor.url : monitor.name,
|
||||||
type: monitor.type,
|
type: monitor.type,
|
||||||
interval: monitor.interval * MS_PER_MINUTE,
|
interval: monitor.interval * MS_PER_MINUTE,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user