mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
perf: Add null check for onAssembleVariables callback
This commit is contained in:
@ -502,7 +502,7 @@ const VarReferenceVars: FC<Props> = ({
|
||||
}
|
||||
|
||||
{
|
||||
showAssembleVariables && (
|
||||
showAssembleVariables && onAssembleVariables && (
|
||||
<div className="flex items-center border-t border-divider-subtle pt-1">
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user