mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Merge branch 'dev_dylan' into scenarios
This commit is contained in:
commit
0b80b86d31
8 files changed
+3
-14
No files matched your search
+1
-1
@@ -546,7 +546,7 @@ class Study(SQLModel):
|
||||
self.status.scenario = scenario
|
||||
|
||||
if reduce(
|
||||
lambda a, s: a or (s.parent is scenario),
|
||||
lambda a, s: a or (s.parent is scenario and not s.is_deleted()),
|
||||
self.scenarios.lst,
|
||||
False
|
||||
):
|
||||
|
||||
Reference in new issue
Block a user