yongster opened a new pull request, #18542: URL: https://github.com/apache/dolphinscheduler/pull/18542
## Was this PR generated or assisted by AI? YES. AI assisted with code exploration, the null-safety change, and validation. ## Purpose of the pull request Fixes #18448. Prevent the DAG context-menu computed properties from accessing `releaseState` when `workflowDefinition` is absent. ## Brief change log - Use optional chaining for `workflowDefinition.releaseState` in the DAG start and other-menu visibility checks. ## Verify this pull request - Ran `pnpm exec eslint src/views/projects/workflow/components/dag/index.tsx`. - Ran `pnpm run build:prod` (`vue-tsc --noEmit` and production Vite build). ## Pull Request Notice [Pull Request Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
