mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-07 01:56:53 +00:00
feat(ui): add system settings to sidebar and unhide frontend theme switcher
- Add System Settings entry to Admin sidebar group with Settings icon - Register /system-settings URL mapping in sidebar config - Remove 3-click hidden unlock from Frontend Theme setting, making it directly visible in System Information section
This commit is contained in:
+2
@@ -70,6 +70,8 @@ const URL_TO_CONFIG_MAP: Record<string, { section: string; module: string }> = {
|
||||
'/users': { section: 'admin', module: 'user' },
|
||||
'/redemption-codes': { section: 'admin', module: 'redemption' },
|
||||
'/subscriptions': { section: 'admin', module: 'subscription' },
|
||||
'/system-settings': { section: 'admin', module: 'setting' },
|
||||
'/system-settings/general': { section: 'admin', module: 'setting' },
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user