Bug fix, über Präferenz hinazs besetzen
This commit is contained in:
1 parent
a5d4251868
commit
4b88aca958
9 files changed
+162
-48
No files matched your search
@@ -9,7 +9,7 @@ struct PlanResultSheet: View {
|
||||
VStack(spacing: 0) {
|
||||
if let result = model.planResult {
|
||||
let canOfferBeyond = !result.unfilled.isEmpty
|
||||
&& !result.assignments.contains(where: \.beyondPreferences)
|
||||
&& !model.planResultUsedBeyond
|
||||
&& model.people.contains { $0.active && $0.allowBeyondPreferences }
|
||||
SheetHeader(
|
||||
icon: result.unfilled.isEmpty ? "checkmark.seal" : "exclamationmark.triangle",
|
||||
|
||||
Reference in new issue
Block a user