Merge remote-tracking branch 'origin/master'

This commit is contained in:
Louis Lam 2022-03-29 17:39:12 +08:00
commit b8dea3a823
4 changed files with 76 additions and 11 deletions

View file

@ -623,6 +623,9 @@ exports.entryPage = "dashboard";
throw new Error("Permission denied.");
}
// Reset Prometheus labels
monitorList[monitor.id]?.prometheus()?.remove();
bean.name = monitor.name;
bean.type = monitor.type;
bean.url = monitor.url;