feat: refactor agent filter sheet to support dynamic API-driven types and update professional card layout
This commit is contained in:
@@ -96,6 +96,11 @@ class _AgentSearchScreenState extends ConsumerState<AgentSearchScreen> {
|
||||
onClearAll: () {
|
||||
ref.read(searchAgentsProvider.notifier).clearFilters();
|
||||
},
|
||||
onListingTypeChange: (agentTypeId) {
|
||||
ref
|
||||
.read(searchAgentsProvider.notifier)
|
||||
.filterByAgentType(agentTypeId);
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user