mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-03-18 13:20:03 +08:00
Fix: Fixed an issue where the agent could not publish. (#13644)
### What problem does this PR solve? Fix: Fixed an issue where the agent could not publish. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -74,7 +74,7 @@ export function PublishConfirmDialog({
|
||||
return formatDate(agentDetail.last_publish_time);
|
||||
}
|
||||
return '';
|
||||
}, [agentDetail?.update_time]);
|
||||
}, [agentDetail.last_publish_time]);
|
||||
|
||||
// Get datasets associated with this pipeline from API response
|
||||
const associatedDatasets = useMemo(() => {
|
||||
@ -84,7 +84,7 @@ export function PublishConfirmDialog({
|
||||
const handleConfirmPublish = useCallback(() => {
|
||||
onPublish();
|
||||
setOpen(false);
|
||||
}, []);
|
||||
}, [onPublish]);
|
||||
|
||||
if (isPipeline) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user