Commit 44312d0fdf
Verified · cmc
Layout: unified · split
gitbay/Views/MRs/MRView.swift +7 −6
| @@ -42,6 +42,13 @@ struct MRView: View { | |||
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | if let gates = mr.gates, mr.isOpen { | ||
| 46 | gatesSection(gates) | ||
| 47 | } | ||
| 48 | if let checks = mr.checks, !checks.isEmpty { | ||
| 49 | checksSection(checks, combined: mr.checksCombined) | ||
| 50 | } | ||
| 51 | |||
| 45 | milestoneSection(mr) | 52 | milestoneSection(mr) |
| 46 | labelsSection(mr) | 53 | labelsSection(mr) |
| 47 | stackSection(mr) | 54 | stackSection(mr) |
| @@ -55,12 +62,6 @@ struct MRView: View { | |||
| 55 | if let commits = mr.commits, !commits.isEmpty { | 62 | if let commits = mr.commits, !commits.isEmpty { |
| 56 | commitsSection(commits) | 63 | commitsSection(commits) |
| 57 | } | 64 | } |
| 58 | if let checks = mr.checks, !checks.isEmpty { | ||
| 59 | checksSection(checks, combined: mr.checksCombined) | ||
| 60 | } | ||
| 61 | if let gates = mr.gates, mr.isOpen { | ||
| 62 | gatesSection(gates) | ||
| 63 | } | ||
| 64 | if let reviews = mr.reviews, !reviews.isEmpty { | 65 | if let reviews = mr.reviews, !reviews.isEmpty { |
| 65 | reviewsSection(reviews) | 66 | reviewsSection(reviews) |
| 66 | } | 67 | } |