chore: allow draft run single node without connect to other node (#31977)

This commit is contained in:
非法操作 2026-02-10 18:03:52 +08:00 committed by GitHub
parent 697b57631a
commit 5077879886
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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