Update rsforms.py

This commit is contained in:
Ivan 2024-08-13 23:53:36 +03:00
parent e484ad2663
commit 4d3f91dd5e

View File

@ -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()