Commit 23ef8ef9e6
Unsigned
Layout: unified · split
DomainDig/DomainViewModel.swift +5 −1
| @@ -2975,7 +2975,11 @@ final class DomainViewModel { | ||
| 2975 | 2975 | let riskAssessment = entry?.changeSummary?.riskAssessment ?? DomainInsightEngine.analyze(snapshot: payload.snapshot).riskAssessment |
| 2976 | 2976 | let quickStatus: String |
| 2977 | 2977 | if entry?.changeSummary?.hasChanges == true { |
| 2978 | quickStatus = entry?.changeSummary?.impactClassification == .critical ? "Critical" : (entry?.changeSummary?.severity == .high ? "High" : "Changed") | |
| 2978 | if entry?.changeSummary?.impactClassification == .critical { | |
| 2979 | quickStatus = "Critical" | |
| 2980 | } else { | |
| 2981 | quickStatus = entry?.changeSummary?.severity == .high ? "High" : "Changed" | |
| 2982 | } | |
| 2979 | 2983 | } else if certificateWarningLevel != .none { |
| 2980 | 2984 | quickStatus = certificateWarningLevel == .critical ? "Critical" : "Warning" |
| 2981 | 2985 | } else if riskAssessment.level == .high { |