mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-20 22:48:11 +00:00
Added settings pages to bring all the settings together from patchmon options, profile page and server settings.
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user