mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: add GraphAvatar to graph list #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -111,7 +111,12 @@ export const useSetFlow = () => {
|
||||
mutateAsync,
|
||||
} = useMutation({
|
||||
mutationKey: ['setFlow'],
|
||||
mutationFn: async (params: { id?: string; title?: string; dsl?: DSL }) => {
|
||||
mutationFn: async (params: {
|
||||
id?: string;
|
||||
title?: string;
|
||||
dsl?: DSL;
|
||||
avatar?: string;
|
||||
}) => {
|
||||
const { data } = await flowService.setCanvas(params);
|
||||
if (data.retcode === 0) {
|
||||
message.success(
|
||||
|
||||
Reference in New Issue
Block a user