mirror of https://github.com/langgenius/dify.git
chore: allow draft run single node without connect to other node (#31977)
This commit is contained in:
parent
697b57631a
commit
5077879886
|
|
@ -159,6 +159,9 @@ const useLastRun = <T>({
|
|||
if (!warningForNode)
|
||||
return false
|
||||
|
||||
if (warningForNode.unConnected && !warningForNode.errorMessage)
|
||||
return false
|
||||
|
||||
const message = warningForNode.errorMessage || 'This node has unresolved checklist issues'
|
||||
Toast.notify({ type: 'error', message })
|
||||
return true
|
||||
|
|
|
|||
Loading…
Reference in New Issue