Commit 7dc962b9 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Guard against nullable blocked by issues array

parent 1303d369
......@@ -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