mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-11-04 08:50:20 +00:00
fix: use Combobox for notification group selection in settings page
Settings page used a plain number input for ip_change_notification_group_id, requiring users to manually enter a group ID. Replace it with a searchable Combobox component (consistent with alert-rule/service/cron pages) and wrap the settings route with NotificationProvider to load notification group data. Closes nezhahq/nezha#1174 Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
This commit is contained in:
1 parent
d276c6843a
commit
b77ac7af93
2 files changed
+19
-6
No files matched your search
+5
-1
@@ -128,7 +128,11 @@ const router = createBrowserRouter([
|
||||
},
|
||||
{
|
||||
path: "/dashboard/settings",
|
||||
element: <SettingsPage />,
|
||||
element: (
|
||||
<NotificationProvider withNotifierGroup>
|
||||
<SettingsPage />
|
||||
</NotificationProvider>
|
||||
),
|
||||
},
|
||||
{
|
||||
path: "/dashboard/settings/user",
|
||||
|
||||
Reference in new issue
Block a user