mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-14 20:54:30 +08:00
Go: implement ?type=filter branch for GET /agents (#18111)
This commit is contained in:
@@ -951,7 +951,10 @@ export const useFetchAgentFilters = () => {
|
||||
},
|
||||
});
|
||||
|
||||
return { data: data.filter, loading };
|
||||
return {
|
||||
data: data?.filter ?? { owner: [], canvas_category: [] },
|
||||
loading,
|
||||
};
|
||||
};
|
||||
|
||||
export const BuiltinPipelineKeys = {
|
||||
|
||||
Reference in New Issue
Block a user