fix: status page features checkboxes not saving

This commit is contained in:
remememe committed 2025-05-18 13:54:51 +02:00
1 parent 5f0ad17b34
commit d13c4a5531
2 files changed
+8 -4

No files matched your search

+2 -1
View File
@@ -184,7 +184,6 @@ const CreateStatusPage = () => {
size: null,
};
}
setForm((prev) => {
return {
...prev,
@@ -194,6 +193,8 @@ const CreateStatusPage = () => {
monitors: statusPageMonitors.map((monitor) => monitor._id),
color: statusPage?.color,
logo: newLogo,
showCharts: statusPage?.showCharts ?? true,
showUptimePercentage: statusPage?.showUptimePercentage ?? true
};
});
setSelectedMonitors(statusPageMonitors);