fix: member role menu

This commit is contained in:
naiba
2024-12-23 19:24:46 +08:00
parent b9cee057f0
commit 5bd24668c7
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export default function SettingsPage() {
const isAdmin = profile?.role === 0
if (!isAdmin) {
navigate("/dashboard/settings/waf")
navigate("/dashboard/settings/online-user")
}
const form = useForm<z.infer<typeof settingFormSchema>>({