fix: 移除服务监控设置页面重复生成的id

This commit is contained in:
Akkia 2022-09-14 11:06:59 +08:00
parent 7228f334a5
commit ceb1b74834
No known key found for this signature in database
GPG Key ID: DABE9A4AB2DD7EF3

View File

@ -264,6 +264,9 @@ function addOrEditMonitor(monitor) {
} else {
modal.find(".ui.nb-notify.checkbox").checkbox("set unchecked");
}
modal.find("a.ui.label.visible").each((i, el) => {
el.remove();
});
var servers;
if (monitor) {
servers = monitor.SkipServersRaw;