Commit 97a63ec4 authored by Simon Knox's avatar Simon Knox

Merge branch 'vs-fix-broken-master' into 'master'

Guard against nullable blocked by issues array RUN AS-IF-FOSS

See merge request gitlab-org/gitlab!48510
parents 42277bc5 7dc962b9
......@@ -113,7 +113,7 @@ export default {
methods: {
...mapActions(['toggleStateButtonLoading']),
toggleIssueState() {
if (!this.isClosed && this.getBlockedByIssues.length) {
if (!this.isClosed && this.getBlockedByIssues?.length) {
this.$refs.blockedByIssuesModal.show();
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment