Skip to content
Snippets Groups Projects
Commit 334ebf84 authored by Ho Tuan Duong's avatar Ho Tuan Duong
Browse files

Use optional chaining for fetching reference

parent 0b573545
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -26,7 +26,7 @@ export default {
return (this.issue?.assignees || [])[0];
},
reference() {
return this.issue.references.relative;
return this.issue?.references?.relative;
},
},
};
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment