Added settings pages to bring all the settings together from patchmon options, profile page and server settings.

This commit is contained in:
Muhammad Ibrahim
2025-09-30 19:48:28 +01:00
parent 8ca22dc7ab
commit ed0cf79b53
16 changed files with 4638 additions and 149 deletions

View File

@@ -257,6 +257,7 @@ const Hosts = () => {
const filter = searchParams.get("filter");
const showFiltersParam = searchParams.get("showFilters");
const osFilterParam = searchParams.get("osFilter");
const groupParam = searchParams.get("group");
if (filter === "needsUpdates") {
setShowFilters(true);
@@ -284,6 +285,12 @@ const Hosts = () => {
setOsFilter(osFilterParam);
}
// Handle group filter parameter
if (groupParam) {
setShowFilters(true);
setGroupFilter(groupParam);
}
// Handle add host action from navigation
const action = searchParams.get("action");
if (action === "add") {