mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-09 08:26:16 +00:00
Replace old settings page with new SettingsLayout for alert-channels route
- Create new AlertChannels component with proper layout - Update routing to use SettingsLayout instead of old Settings component - Add placeholder content for alert channels functionality - Remove dependency on old settings server page
This commit is contained in:
@@ -17,6 +17,7 @@ import Profile from "./pages/Profile";
|
||||
import Repositories from "./pages/Repositories";
|
||||
import RepositoryDetail from "./pages/RepositoryDetail";
|
||||
import Settings from "./pages/Settings";
|
||||
import AlertChannels from "./pages/settings/AlertChannels";
|
||||
import SettingsAgentConfig from "./pages/settings/SettingsAgentConfig";
|
||||
import SettingsHostGroups from "./pages/settings/SettingsHostGroups";
|
||||
import SettingsServerConfig from "./pages/settings/SettingsServerConfig";
|
||||
@@ -238,7 +239,9 @@ function AppRoutes() {
|
||||
element={
|
||||
<ProtectedRoute requirePermission="can_manage_settings">
|
||||
<Layout>
|
||||
<Settings />
|
||||
<SettingsLayout>
|
||||
<AlertChannels />
|
||||
</SettingsLayout>
|
||||
</Layout>
|
||||
</ProtectedRoute>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user