Merge pull request #2298 from remememe/develop
fix: status page feature checkboxes not saving (Fixes #2274)
This commit is contained in:
2 files changed
+8
-4
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user