merge: 规则组编辑改用 Sheet 抽屉

This commit is contained in:
ryan
2026-06-18 20:24:23 +08:00
4 changed files with 402 additions and 400 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ import type {WAFRuleGroup, WAFRuleGroupPayload} from '@/lib/services/openflare';
import {ProxyRouteService, WafService} from '@/lib/services/openflare';
import {getErrorMessage} from './components/helpers';
import {RuleGroupDialog} from './components/rule-group-dialog';
import {RuleGroupSheet} from './components/rule-group-sheet';
import {RuleGroupsTable} from './components/rule-groups-table';
import {SiteBindingSheet} from './components/site-binding-sheet';
@@ -197,7 +197,7 @@ export default function WafPage() {
</CardContent>
</Card>
<RuleGroupDialog
<RuleGroupSheet
open={editorOpen}
group={editingGroup}
ipGroups={ipGroupsQuery.data ?? []}