1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
export default { methods: { isIssueConfidential(issue) { return !!issue.confidential; }, isIssueLocked(issue) { return !!issue.discussion_locked; }, hasIssueWarning(issue) { return this.isIssueConfidential(issue) || this.isIssueLocked(issue); }, }, };