Merge pull request #2871 from pruekk/chore/missing-notificationList

chore: notification toggle missing when import from backup
This commit is contained in:
Louis Lam 2023-06-29 22:42:09 +08:00 committed by GitHub
commit 9ee2780e9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1384,7 +1384,7 @@ let needSetup = false;
accepted_statuscodes: monitorListData[i].accepted_statuscodes, accepted_statuscodes: monitorListData[i].accepted_statuscodes,
dns_resolve_type: monitorListData[i].dns_resolve_type, dns_resolve_type: monitorListData[i].dns_resolve_type,
dns_resolve_server: monitorListData[i].dns_resolve_server, dns_resolve_server: monitorListData[i].dns_resolve_server,
notificationIDList: {}, notificationIDList: monitorListData[i].notificationIDList,
proxy_id: monitorListData[i].proxy_id || null, proxy_id: monitorListData[i].proxy_id || null,
}; };