Added defaultFriendlyName

This commit is contained in:
iotux 2026-01-02 14:13:51 +01:00
parent b3f84f0bf8
commit 1948802b8d

View File

@ -1464,6 +1464,9 @@ export default {
if (this.monitor.hostname) {
return this.monitor.hostname;
}
if (this.monitor.system_service_name) {
return this.monitor.system_service_name;
}
if (this.monitor.url) {
if (this.monitor.url !== "http://" && this.monitor.url !== "https://") {
// Ensure monitor without a URL is not affected by invisible URL.