fix: workflow restore (#3711)

This commit is contained in:
zxhlyh 2024-04-23 17:02:23 +08:00 • committed by GitHub
commit 83caffe000
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 654 additions and 318 deletions

View file

@ -58,7 +58,7 @@ const BaseNode: FC<BaseNodeProps> = ({
`}
>
{
data.type !== BlockEnum.VariableAssigner && !data._runningStatus && !nodesReadOnly && (
data.type !== BlockEnum.VariableAssigner && !data._runningStatus && (
<NodeTargetHandle
id={id}
data={data}
@ -68,7 +68,7 @@ const BaseNode: FC<BaseNodeProps> = ({
)
}
{
data.type !== BlockEnum.IfElse && data.type !== BlockEnum.QuestionClassifier && !data._runningStatus && !nodesReadOnly && (
data.type !== BlockEnum.IfElse && data.type !== BlockEnum.QuestionClassifier && !data._runningStatus && (
<NodeSourceHandle
id={id}
data={data}