mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
M: Add substitution propagation for Inline synthesis
This commit is contained in:
parent
173b10b457
commit
a382686701
|
@ -594,9 +594,9 @@ def inline_synthesis(request: Request) -> HttpResponse:
|
|||
index = next(i for (i, cst) in enumerate(items) if cst.pk == replacement.pk)
|
||||
replacement = new_items[index]
|
||||
substitutions.append((original, replacement))
|
||||
receiver.substitute(substitutions)
|
||||
|
||||
# TODO: propagate substitutions
|
||||
PropagationFacade.before_substitute(substitutions, receiver)
|
||||
receiver.substitute(substitutions)
|
||||
|
||||
receiver.restore_order()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user